Skip to content

Commit

Permalink
Fix resolver ImportError issues
Browse files Browse the repository at this point in the history
- Fixes #2460

Signed-off-by: Dan Ryan <dan@danryan.co>
  • Loading branch information
techalchemy committed Aug 2, 2018
1 parent 641e889 commit be2a1ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/2689.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed ``ImportError`` issues which were sometimes caused during dependency resolution.
2 changes: 1 addition & 1 deletion pipenv/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def which(*args, **kwargs):


def main():
_patch_path()
do_pre = "--pre" in " ".join(sys.argv)
do_clear = "--clear" in " ".join(sys.argv)
is_debug = "--debug" in " ".join(sys.argv)
Expand Down Expand Up @@ -90,5 +91,4 @@ def resolve(packages, pre, project, sources, clear, system):


if __name__ == "__main__":
_patch_path()
main()

0 comments on commit be2a1ef

Please sign in to comment.