Skip to content

Commit

Permalink
let's see what's happening
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed May 20, 2019
1 parent e6b2f64 commit 12fa135
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,15 @@ def import_from_code(path="."):
rs = []
try:
for r in pipreqs.get_all_imports(path, encoding="utf-8"):
click.echo(r)
if r not in BAD_PACKAGES:
rs.append(r)
pkg_names = pipreqs.get_pkg_names(rs)
return [proper_case(r) for r in pkg_names]

except Exception:
import traceback
traceback.print_exc()
return []


Expand Down

0 comments on commit 12fa135

Please sign in to comment.