Fix AttributeError on pipenv uninstall --verbose

This commit is contained in:
Hynek Schlawack
2018-01-17 09:49:37 +01:00
parent dff445e7ed
commit e6ce56d3d8
+6 -6
View File
@@ -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))