mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Fix pylint warning
This commit is contained in:
parent
e16cbce52e
commit
9b396f7125
@ -434,7 +434,7 @@ class CallAnnotationsValidator:
|
|||||||
self.process_translation_unit(translation_unit)
|
self.process_translation_unit(translation_unit)
|
||||||
self._main_source_file = ""
|
self._main_source_file = ""
|
||||||
self._defines = {}
|
self._defines = {}
|
||||||
elif len(errors):
|
elif len(errors) != 0:
|
||||||
print(f"%Error: parsing failed: {filename}", file=sys.stderr)
|
print(f"%Error: parsing failed: {filename}", file=sys.stderr)
|
||||||
for error in errors:
|
for error in errors:
|
||||||
print(f" {error}", file=sys.stderr)
|
print(f" {error}", file=sys.stderr)
|
||||||
|
Loading…
Reference in New Issue
Block a user