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.
Change-Id: I8b1542d2681ef3985455920fa939a6ea2482be22
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/tools/elog-gen.py b/tools/elog-gen.py
index b969a82..2b7fc49 100755
--- a/tools/elog-gen.py
+++ b/tools/elog-gen.py
@@ -11,11 +11,13 @@
yaml to generate the header file.
"""
-from mako.template import Template
-from optparse import OptionParser
-import yaml
-import sys
import os
+import sys
+from optparse import OptionParser
+
+from mako.template import Template
+
+import yaml
def order_inherited_errors(i_errors, i_parents):
@@ -223,7 +225,7 @@
% (str(error), i_elog_yaml)
)
exit(1)
- fullname = i_namespace.replace("/", ".") + (".") + error["name"]
+ fullname = i_namespace.replace("/", ".") + "." + error["name"]
errors.append(fullname)
if "description" in error: