only lock once after uninstall

This commit is contained in:
Nate Prewitt
2017-04-24 09:35:19 -06:00
parent d1a8d73911
commit 5b59c5ee17
+2 -2
View File
@@ -883,8 +883,8 @@ def uninstall(package_name=False, more_packages=False, three=None, python=False,
project.remove_package_from_pipfile(package_name, dev)
if lock:
do_lock(no_hashes=no_hashes)
if lock:
do_lock(no_hashes=no_hashes)
@click.command(help="Generates Pipfile.lock.")