summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico2012-09-04 03:28:25 (GMT)
committerZac Medico2012-09-04 03:28:25 (GMT)
commit12c142c529909acf1b755690404cef51d8de3fe4 (patch)
tree3b622e25a5749af9557001e7571e4c8719efe610
parented68a1bdb22fec478ac39b377961508cd3a30617 (diff)
Deprecate @installed for bug #387059.
-rw-r--r--pym/_emerge/main.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 049c3ec..aff1d37 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1481,6 +1481,12 @@ def expand_set_arguments(myfiles, myaction, root_config):
if s not in sets:
display_missing_pkg_set(root_config, s)
return (None, 1)
+ if s == "installed":
+ msg = ("The @installed set is deprecated and will soon be "
+ "removed. Please refer to bug #387059 for details.")
+ out = portage.output.EOutput()
+ for line in textwrap.wrap(msg, 50):
+ out.ewarn(line)
setconfig.active.append(s)
try:
set_atoms = setconfig.getSetAtoms(s)