mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 03:55:22 +00:00
trackback.print_exc: wrong parameter
Signed-off-by: 司芳源 <sify21@163.com>
This commit is contained in:
parent
6a1a469eb5
commit
c304eae0d8
@ -123,7 +123,7 @@ def get_all_imports(
|
|||||||
raw_imports.add(node.module)
|
raw_imports.add(node.module)
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
if ignore_errors:
|
if ignore_errors:
|
||||||
traceback.print_exc(exc)
|
traceback.print_exc()
|
||||||
logging.warn("Failed on file: %s" % file_name)
|
logging.warn("Failed on file: %s" % file_name)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user