mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Address lint concern
This commit is contained in:
parent
fbad36705e
commit
bcb3c223d9
|
@ -39,7 +39,7 @@ def import_filename(modulename, filename):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
loader.exec_module(module)
|
loader.exec_module(module)
|
||||||
except FileNotFoundError as e:
|
except FileNotFoundError:
|
||||||
print("Script {} not found".format(pathname), file=sys.stderr)
|
print("Script {} not found".format(pathname), file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
return module
|
return module
|
||||||
|
|
Loading…
Reference in New Issue
Block a user