From 78322e748543a6b953fa799fd27afa0867e63fb3 Mon Sep 17 00:00:00 2001 From: apurvaraghu <100869315+apurvaraghu@users.noreply.github.com> Date: Thu, 18 Jan 2024 01:10:06 -0800 Subject: [PATCH] fix black failure --- lib/jnpr/junos/utils/sw.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/jnpr/junos/utils/sw.py b/lib/jnpr/junos/utils/sw.py index 8dd9c093b..43a76c436 100644 --- a/lib/jnpr/junos/utils/sw.py +++ b/lib/jnpr/junos/utils/sw.py @@ -1231,7 +1231,9 @@ def reboot( # ------------------------------------------------------------------------- # poweroff - system shutdown # ------------------------------------------------------------------------- - def poweroff(self, in_min=0, at=None, on_node=None, all_re=True, other_re=False, vmhost=False): + def poweroff( + self, in_min=0, at=None, on_node=None, all_re=True, other_re=False, vmhost=False + ): """ Perform a system shutdown, with optional delay (in minutes) . @@ -1274,9 +1276,7 @@ def poweroff(self, in_min=0, at=None, on_node=None, all_re=True, other_re=False, else: cmd = E("request-power-off") try: - return self._system_operation( - cmd, in_min, at, all_re, other_re, vmhost - ) + return self._system_operation(cmd, in_min, at, all_re, other_re, vmhost) except Exception as err: if err.rsp.findtext(".//error-severity") != "warning": raise err