From 5b59c5ee173b0a6a2ebf258b8e77956ea99abb78 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Mon, 24 Apr 2017 09:35:19 -0600 Subject: [PATCH] only lock once after uninstall --- pipenv/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index 004a9440..e1a7e2b7 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -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.")