forked from github/verilator
Fix error if file not found
This commit is contained in:
parent
046896e60a
commit
d3b63b2653
@ -38,10 +38,10 @@ def diff_dir(a, b):
|
|||||||
|
|
||||||
anyfile = False
|
anyfile = False
|
||||||
for base in sorted(files.keys()):
|
for base in sorted(files.keys()):
|
||||||
|
if (not 'a' in files[base]) or (not 'b' in files[base]):
|
||||||
|
continue
|
||||||
a = files[base]['a']
|
a = files[base]['a']
|
||||||
b = files[base]['b']
|
b = files[base]['b']
|
||||||
if not a or not b:
|
|
||||||
continue
|
|
||||||
print("=" * 70)
|
print("=" * 70)
|
||||||
print("= %s <-> %s" % (a, b))
|
print("= %s <-> %s" % (a, b))
|
||||||
diff_file(a, b)
|
diff_file(a, b)
|
||||||
|
Loading…
Reference in New Issue
Block a user