summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-21 06:25:32 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-21 06:25:32 +0000
commitc9e582c047784201639c0dfda08b35626acf79c1 (patch)
tree93c6d72a694c4d08301e6fd103a2003740391640
parenta84fc6f4fc2124186e86829f8eb53516f14cba3b (diff)
downloadportage-c9e582c047784201639c0dfda08b35626acf79c1.tar.gz
portage-c9e582c047784201639c0dfda08b35626acf79c1.tar.bz2
portage-c9e582c047784201639c0dfda08b35626acf79c1.zip
Don't generate a list of keys for a containment test.
svn path=/main/trunk/; revision=6909
-rw-r--r--pym/emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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: