Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Jan 16, 2024
1 parent 1ac2ae0 commit 3dc13be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moler/cmd/commandtextualgeneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,8 @@ def is_failure_indication(self, line, is_full_line):
:param is_full_line: Indicates if the line is a full line or a partial line.
:return: True if the line is a failure indication, False otherwise.
"""
if self.re_fail is not None and is_full_line and self._regex_helper.search_compiled(
compiled=self.re_fail, string=line):
if self.re_fail is not None and is_full_line and\
self._regex_helper.search_compiled(compiled=self.re_fail, string=line):
return True
return False

Expand Down

0 comments on commit 3dc13be

Please sign in to comment.