mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #3202 from jxltom/friendly-info-when-no-virtualenv-for-graph
Do not raise exception for pipenv graph when virtuanlenv is not created yet
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fix a bug where exception is raised when run pipenv graph in a project without created virtualenv
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user