From 32c0cb6cb155d1be20d3a768f10412051affff44 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Oct 2007 06:02:17 +0000 Subject: [PATCH] For the emergelog message, send in the original list of arguments that exists before expansion of sets. svn path=/main/trunk/; revision=8290 --- pym/_emerge/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 6ad1c3865..1bd0ae72a 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -6494,8 +6494,8 @@ def emerge_main(): mysets = {} # only expand sets for actions taking package arguments + oldargs = myfiles[:] if myaction not in ["search", "metadata", "sync"]: - oldargs = myfiles[:] for s in settings.sets: if s in myfiles: # TODO: check if the current setname also resolves to a package name @@ -6515,7 +6515,6 @@ def emerge_main(): if oldargs and not myfiles: print "emerge: no targets left after set expansion" return 0 - del oldargs if ("--tree" in myopts) and ("--columns" in myopts): print "emerge: can't specify both of \"--tree\" and \"--columns\"." @@ -6661,8 +6660,9 @@ def emerge_main(): if myaction: myelogstr+=" "+myaction if myfiles: - myelogstr+=" "+" ".join(myfiles) + myelogstr += " " + " ".join(oldargs) emergelog(xterm_titles, " *** emerge " + myelogstr) + del oldargs def emergeexitsig(signum, frame): signal.signal(signal.SIGINT, signal.SIG_IGN) -- 2.26.2