Print environment name when removing active env (#12198)

This commit is contained in:
Javier Cervantes 2019-07-31 14:40:11 +02:00 committed by Massimiliano Culpo
parent d973fca00e
commit a948954886

View File

@ -249,7 +249,8 @@ def env_remove(args):
for env in read_envs:
if env.active:
tty.die("Environment %s can't be removed while activated.")
tty.die("Environment %s can't be removed while activated."
% env.name)
env.destroy()
tty.msg("Successfully removed environment '%s'" % env.name)