From: Zac Medico Date: Thu, 21 Jun 2007 06:25:32 +0000 (-0000) Subject: Don't generate a list of keys for a containment test. X-Git-Tag: v2.2_pre1~1207 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c9e582c047784201639c0dfda08b35626acf79c1;p=portage.git Don't generate a list of keys for a containment test. svn path=/main/trunk/; revision=6909 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index abce72bb8..031691be6 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -208,7 +208,7 @@ def emergelog(xterm_titles, mystr, short_msg=None): if xterm_titles: if short_msg == None: short_msg = mystr - if "HOSTNAME" in os.environ.keys(): + if "HOSTNAME" in os.environ: short_msg = os.environ["HOSTNAME"]+": "+short_msg xtermTitle(short_msg) try: