mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +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)
|
||||
except Exception as exc:
|
||||
if ignore_errors:
|
||||
traceback.print_exc(exc)
|
||||
traceback.print_exc()
|
||||
logging.warn("Failed on file: %s" % file_name)
|
||||
continue
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user