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/bin/print_ffdc_functions b/bin/print_ffdc_functions
index 7988195..632841c 100755
--- a/bin/print_ffdc_functions
+++ b/bin/print_ffdc_functions
@@ -9,10 +9,10 @@
save_path_0 = sys.path[0]
del sys.path[0]
-from gen_arg import * # NOQA
-from gen_print import * # NOQA
-from gen_valid import * # NOQA
-from openbmc_ffdc_list import * # NOQA
+from gen_arg import * # NOQA
+from gen_print import * # NOQA
+from gen_valid import * # NOQA
+from openbmc_ffdc_list import * # NOQA
# Restore sys.path[0].
sys.path.insert(0, save_path_0)
@@ -22,8 +22,12 @@
parser = argparse.ArgumentParser(
usage="%(prog)s [OPTIONS]",
- description="%(prog)s will print a colon-delimited list of all valid OBMC FFDC functions.\n\nExample:"
- + "\n\n\nDump Log:FFDC Generic Report:Get Request FFDC:SEL Log:BMC Specific Files:Sys Inventory Files"
+ description=(
+ "%(prog)s will print a colon-delimited list of all valid OBMC FFDC"
+ " functions.\n\nExample:"
+ )
+ + "\n\n\nDump Log:FFDC Generic Report:Get Request FFDC:SEL Log:BMC"
+ " Specific Files:Sys Inventory Files"
+ ":Core Files:OS FFDC:Dump Files",
formatter_class=argparse.RawDescriptionHelpFormatter,
prefix_chars="-+",
@@ -68,7 +72,6 @@
def main():
-
gen_get_options(parser, stock_list)
validate_parms()