Skip to content

Commit 3ce26e7

Browse files
author
Bartosz Sławecki
authored
Update discovery.py
1 parent 8bacee1 commit 3ce26e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

discovery.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,8 @@ def inferred_deps():
161161
and not imp.relative_to(best_name()).startswith(best_name())
162162
]
163163
for name, module in names:
164-
try:
165-
yield pypi.distribution_for(name) + extra_for(module)
166-
except Exception:
167-
print("Error resolving import", name, file=sys.stderr)
164+
# TODO(#30): Handle resolution errors gracefully
165+
yield pypi.distribution_for(name) + extra_for(module)
168166

169167

170168
def combined_deps():

0 commit comments

Comments
 (0)