black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files
to have a consistent formatting. Re-run the formatter on the whole
repository.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I944f1915ece753f72a3fa654902d445a9749d0f9
diff --git a/lib/tftp_update_utils.py b/lib/tftp_update_utils.py
index 266e774..8e389f8 100644
--- a/lib/tftp_update_utils.py
+++ b/lib/tftp_update_utils.py
@@ -4,10 +4,9 @@
This module contains functions for tftp update.
"""
-from robot.libraries.BuiltIn import BuiltIn
-
-import state as st
import gen_print as gp
+import state as st
+from robot.libraries.BuiltIn import BuiltIn
def get_pre_reboot_state():
@@ -18,7 +17,7 @@
global state
- req_states = ['epoch_seconds'] + st.default_req_states
+ req_states = ["epoch_seconds"] + st.default_req_states
gp.qprint_timen("Get system state.")
state = st.get_state(req_states=req_states, quiet=0)
@@ -49,4 +48,6 @@
gp.qprintn()
if wait_state_check:
- st.wait_state(st.standby_match_state, wait_time="10 mins", interval="10 seconds")
+ st.wait_state(
+ st.standby_match_state, wait_time="10 mins", interval="10 seconds"
+ )