Skip to content

Commit a9d67a4

Browse files
committed
os: black
1 parent 0364e40 commit a9d67a4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lisa/operating_system.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ class Debian(Linux):
856856
_could_not_connect_pattern = re.compile(
857857
r"W: Failed to fetch \S+\s+.*("
858858
r"Could not connect|Unable to connect|connection timed out)",
859-
re.IGNORECASE
859+
re.IGNORECASE,
860860
)
861861

862862
@classmethod
@@ -1210,7 +1210,9 @@ def _initialize_package_installation(self) -> None:
12101210
# retry on transient connection failures,
12111211
# apt warns but does not fail if these occur
12121212
if self._could_not_connect_pattern.search(result.stderr + result.stdout):
1213-
self._node.log.debug("Apt could not connect to one of the repositories, retrying...")
1213+
self._node.log.debug(
1214+
"Apt could not connect to one of the repositories, retrying..."
1215+
)
12141216
raise LisaRetryableException(operation_type="apt-get update")
12151217

12161218
result.assert_exit_code(message="\n".join(self.get_apt_error(result.stdout)))

0 commit comments

Comments
 (0)