mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
oops
This commit is contained in:
+4
-4
@@ -386,10 +386,10 @@ def do_purge(bare=False, downloads=False, allow_global=False):
|
||||
|
||||
# Remove setuptools and friends from installed, if present.
|
||||
for package_name in ['setuptools', 'pip', 'wheel', 'six']:
|
||||
try:
|
||||
installed.remove(package_name)
|
||||
except ValueError:
|
||||
pass
|
||||
try:
|
||||
installed.remove(package_name)
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
if not bare:
|
||||
click.echo('Found {0} installed package(s), purging...'.format(len(installed)))
|
||||
|
||||
Reference in New Issue
Block a user