Skip to content

Commit

Permalink
trackback.print_exc: wrong parameter
Browse files Browse the repository at this point in the history
Signed-off-by: 司芳源 <sify21@163.com>
  • Loading branch information
sify21 committed Oct 4, 2024
1 parent 6a1a469 commit c304eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipreqs/pipreqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c304eae

Please sign in to comment.