Merge pull request #947 from richardcooper/pep508-typo

Fix a typo in do_lock() error handler
This commit is contained in:
Nate Prewitt
2017-10-22 08:19:28 -07:00
committed by GitHub
+1 -1
View File
@@ -1131,7 +1131,7 @@ def do_lock(verbose=False, system=False, clear=False, pre=False):
lockfile['_meta']['host-environment-markers'] = simplejson.loads(c.out)
except ValueError:
click.echo(crayons.red("An unexpected error occured while accessing your virtualenv's python installation!"))
click.echo('Please run $ {0} to re-create your environment.'.crayons.red('pipenv --rm'))
click.echo('Please run $ {0} to re-create your environment.'.format(crayons.red('pipenv --rm')))
sys.exit(1)
# Write out the lockfile.