Formatted python files to follow PEP 8 python code standards.
- Changed the python files in the openbmc-test-automation
directory to conform to python code style standards with
the exception of E402 and E501.
- Resolves openbmc/openbmc-test-automation#1308
Change-Id: I109995c2d248f5a6bb2c0e3c76a6144c8f3aac2e
Signed-off-by: Joy Onyerikwu <onyekachukwu.joy.onyerikwu@ibm.com>
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/bin/plug_ins/Stop/cp_stop_check b/bin/plug_ins/Stop/cp_stop_check
index 471be4e..3199ec0 100755
--- a/bin/plug_ins/Stop/cp_stop_check
+++ b/bin/plug_ins/Stop/cp_stop_check
@@ -56,7 +56,6 @@
def exit_function(signal_number=0,
frame=None):
-
r"""
Execute whenever the program ends normally or with the signals that we
catch (i.e. TERM, INT).
@@ -70,7 +69,6 @@
def signal_handler(signal_number,
frame):
-
r"""
Handle signals. Without a function to catch a SIGTERM or SIGINT, our
program would terminate immediately with return code 143 and without
@@ -88,7 +86,6 @@
def validate_parms():
-
r"""
Validate program parameters, etc. Return True or False (i.e. pass/fail)
accordingly.
@@ -105,7 +102,6 @@
def rest_fail():
-
r"""
If STOP_REST_FAIL, then this function will determine whether REST commands
to the target are working. If not, this function will stop the program by
@@ -139,7 +135,6 @@
def esel_stop_check():
-
r"""
Run the esel_stop_check program to determine whether any eSEL entries
found warrent stopping the test run. See esel_stop_check help text for
@@ -195,5 +190,6 @@
# Main
+
if not main():
exit(1)