diff options
-rw-r--r-- | pym/_emerge/actions.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index bc013483f..af4380ed1 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1194,8 +1194,12 @@ def action_deselect(settings, trees, opts, atoms): break if discard_atoms: for atom in sorted(discard_atoms): - print(">>> Removing %s from \"world\" favorites file..." % \ - colorize("INFORM", str(atom))) + if pretend: + print(">>> Would remove %s from \"world\" favorites file..." % \ + colorize("INFORM", str(atom))) + else: + print(">>> Removing %s from \"world\" favorites file..." % \ + colorize("INFORM", str(atom))) if '--ask' in opts: prompt = "Would you like to remove these " + \ |