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