From 3dc13be25a0d610615f735e15a396b2f11efa070 Mon Sep 17 00:00:00 2001 From: Marcin Usielski Date: Tue, 16 Jan 2024 13:41:48 +0100 Subject: [PATCH] style --- moler/cmd/commandtextualgeneric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moler/cmd/commandtextualgeneric.py b/moler/cmd/commandtextualgeneric.py index 9681ab11f..bf7ca8d45 100644 --- a/moler/cmd/commandtextualgeneric.py +++ b/moler/cmd/commandtextualgeneric.py @@ -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