Skip to content

Commit

Permalink
Minor code style improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Jan 14, 2025
1 parent 7a7ae85 commit ac99746
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions robotframework_reportportal/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ def _process_keyword_flatten(self):
elif pattern_str_upper == "WHILE":
self._flatten_keyword_filters.append(WHILE_KEYWORD_MATCH)
else:
self._flatten_keyword_filters.append(FOR_KEYWORD_MATCH)
self._flatten_keyword_filters.append(WHILE_KEYWORD_MATCH)
self._flatten_keyword_filters.extend([FOR_KEYWORD_MATCH, WHILE_KEYWORD_MATCH])
continue
process_keyword_names_and_tags(self._flatten_keyword_filters, pattern_str)

Expand Down

0 comments on commit ac99746

Please sign in to comment.