diff options
-rw-r--r-- | pym/_emerge/__init__.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 14aaa6047..a3562f996 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -9924,12 +9924,14 @@ def unmerge(root_config, myopts, unmerge_action, if (not "--quiet" in myopts): newline="\n" if settings["ROOT"] != "/": - print darkgreen(newline+ \ - ">>> Using system located in ROOT tree "+settings["ROOT"]) + writemsg_level(darkgreen(newline+ \ + ">>> Using system located in ROOT tree %s\n" % \ + settings["ROOT"])) + if (("--pretend" in myopts) or ("--ask" in myopts)) and \ not ("--quiet" in myopts): - print darkgreen(newline+\ - ">>> These are the packages that would be unmerged:") + writemsg_level(darkgreen(newline+\ + ">>> These are the packages that would be unmerged:\n")) # Preservation of order is required for --depclean and --prune so # that dependencies are respected. Use all_selected to eliminate |