fsconfig: fix style formating with yapf
A few changes got introduced that yapf re-styles. To make it easy,
keep this file formated to:
yapf -i --style=google fs_config_generator.py
Test: run unit tests
Change-Id: I3160b92d7fd07a4d315dde59f1d20fe4c7587da1
Signed-off-by: William Roberts <william.c.roberts@intel.com>
diff --git a/tools/fs_config/fs_config_generator.py b/tools/fs_config/fs_config_generator.py
index 7f1ec3d..c76e8f4 100755
--- a/tools/fs_config/fs_config_generator.py
+++ b/tools/fs_config/fs_config_generator.py
@@ -286,6 +286,7 @@
"""
for lineno, line in enumerate(aid_file):
+
def error_message(msg):
"""Creates an error message with the current parsing state."""
return 'Error "{}" in file: "{}" on line: {}'.format(
@@ -307,8 +308,9 @@
for x in AIDHeaderParser._AID_SKIP_RANGE):
self._handle_aid(identifier, value)
except ValueError as exception:
- sys.exit(error_message(
- '{} for "{}"'.format(exception, identifier)))
+ sys.exit(
+ error_message('{} for "{}"'.format(exception,
+ identifier)))
def _handle_aid(self, identifier, value):
"""Handle an AID C #define.