Skip to content

Commit

Permalink
Merge branch 'master' into continue-fix-3188
Browse files Browse the repository at this point in the history
  • Loading branch information
techalchemy authored Nov 12, 2018
2 parents a067a08 + b96cd81 commit c270562
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 254 deletions.
20 changes: 0 additions & 20 deletions .vsts-ci/docs.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .vsts-ci/linux.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .vsts-ci/phases/run-manifest-check.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .vsts-ci/phases/run-tests-windows.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .vsts-ci/phases/run-tests.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .vsts-ci/phases/run-vendor-scripts.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .vsts-ci/phases/test.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .vsts-ci/steps/create-virtualenv.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .vsts-ci/steps/install-dependencies.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .vsts-ci/steps/run-tests.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .vsts-ci/windows.yml

This file was deleted.

1 change: 1 addition & 0 deletions news/3199.trivial
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove blank lines for pipenv graph
1 change: 1 addition & 0 deletions news/3201.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a bug where exception is raised when run pipenv graph in a project without created virtualenv
5 changes: 4 additions & 1 deletion pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,9 @@ def do_graph(bare=False, json=False, json_tree=False, reverse=False):
err=True,
)
sys.exit(1)
except RuntimeError:
pass

if reverse and json:
click.echo(
u"{0}: {1}".format(
Expand Down Expand Up @@ -2517,7 +2520,7 @@ def traverse(obj):
click.echo(simplejson.dumps(data, indent=4))
sys.exit(0)
else:
for line in c.out.split("\n"):
for line in c.out.strip().split("\n"):
# Ignore bad packages as top level.
if line.split("==")[0] in BAD_PACKAGES and not reverse:
continue
Expand Down

0 comments on commit c270562

Please sign in to comment.