mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #1315 from hynek/master
Fix AttributeError on pipenv uninstall --verbose
This commit is contained in:
+6
-6
@@ -1998,14 +1998,14 @@ def uninstall(
|
||||
crayons.green(package_name))
|
||||
)
|
||||
|
||||
cmd = '"{0}" uninstall {1} -y'
|
||||
if verbose:
|
||||
click.echo('$ {0}').format(cmd)
|
||||
|
||||
c = delegator.run(cmd.format(
|
||||
cmd = '"{0}" uninstall {1} -y'.format(
|
||||
which_pip(allow_global=system),
|
||||
package_name
|
||||
))
|
||||
)
|
||||
if verbose:
|
||||
click.echo('$ {0}'.format(cmd))
|
||||
|
||||
c = delegator.run(cmd)
|
||||
|
||||
click.echo(crayons.blue(c.out))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user