From: Zac Medico Date: Tue, 4 Sep 2012 03:28:25 +0000 (-0700) Subject: Deprecate @installed for bug #387059. X-Git-Tag: v2.2.0_alpha125~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12c142c529909acf1b755690404cef51d8de3fe4;p=portage.git Deprecate @installed for bug #387059. --- diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 049c3ec88..aff1d3733 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)