Merge pull request #1315 from hynek/master

Fix AttributeError on pipenv uninstall --verbose
This commit is contained in:
2018-01-23 11:29:51 -05:00
committed by GitHub
+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))