diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-08-07 13:58:59 +0000 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-08-07 16:20:35 +0000 |
commit | 6c6b9edc4690f5c4cd86334d706d7c40a81c85cf (patch) | |
tree | 33078dc8f2557a6928a49518e46589ed10b3289f /resources/tools/integrated | |
parent | c8ea6f1fab0b77a0690548fbef825cf902ad4146 (diff) |
FIX: Pylint
- my bad
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I8c1f57f6b648b99338f3f6a6ff9ec943082e9bc4
Diffstat (limited to 'resources/tools/integrated')
-rw-r--r-- | resources/tools/integrated/check_crc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/integrated/check_crc.py b/resources/tools/integrated/check_crc.py index 3e2836cb3b..3d5c30a6d6 100644 --- a/resources/tools/integrated/check_crc.py +++ b/resources/tools/integrated/check_crc.py @@ -27,12 +27,12 @@ from resources.libraries.python.VppApiCrc import VppApiCrcChecker # TODO: Read FDIO_VPP_DIR environment variable, or some other input, # instead of using hardcoded relative path? -api_dir = op.normpath(op.join( +API_DIR = op.normpath(op.join( op.dirname(op.abspath(__file__)), "..", "..", "..", "..", "build-root", "install-vpp-native", "vpp", "share", "vpp", "api")) -checker = VppApiCrcChecker(api_dir) +CHECKER = VppApiCrcChecker(API_DIR) try: - checker.report_initial_conflicts(report_missing=True) + CHECKER.report_initial_conflicts(report_missing=True) except RuntimeError as err: sys.stderr.write("{err!r}\n".format(err=err)) sys.stderr.write( |