fsconfig: fix style formating with yapf am: 820421c9b5
am: 529b397e83
am: e344c7672c
am: 37e403e4a3
Change-Id: I6132dc60a93247247ae8045d9afca260571f908f
This commit is contained in:
commit
ceec74b6f9
|
@ -286,6 +286,7 @@ class AIDHeaderParser(object):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
for lineno, line in enumerate(aid_file):
|
for lineno, line in enumerate(aid_file):
|
||||||
|
|
||||||
def error_message(msg):
|
def error_message(msg):
|
||||||
"""Creates an error message with the current parsing state."""
|
"""Creates an error message with the current parsing state."""
|
||||||
return 'Error "{}" in file: "{}" on line: {}'.format(
|
return 'Error "{}" in file: "{}" on line: {}'.format(
|
||||||
|
@ -307,8 +308,9 @@ class AIDHeaderParser(object):
|
||||||
for x in AIDHeaderParser._AID_SKIP_RANGE):
|
for x in AIDHeaderParser._AID_SKIP_RANGE):
|
||||||
self._handle_aid(identifier, value)
|
self._handle_aid(identifier, value)
|
||||||
except ValueError as exception:
|
except ValueError as exception:
|
||||||
sys.exit(error_message(
|
sys.exit(
|
||||||
'{} for "{}"'.format(exception, identifier)))
|
error_message('{} for "{}"'.format(exception,
|
||||||
|
identifier)))
|
||||||
|
|
||||||
def _handle_aid(self, identifier, value):
|
def _handle_aid(self, identifier, value):
|
||||||
"""Handle an AID C #define.
|
"""Handle an AID C #define.
|
||||||
|
|
Loading…
Reference in New Issue