summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2005-11-13 15:03:44 +0000
committerMarius Mauch <genone@gentoo.org>2005-11-13 15:03:44 +0000
commit1eaf47d9ddb16a30fce01869c877bcd1abb58937 (patch)
treea60a3dfab2cb2e1e483a7550e372c2d7261c50c4
parente4468d9f252541e9587e70498c6876d563cca7f6 (diff)
downloadportage-1eaf47d9ddb16a30fce01869c877bcd1abb58937.tar.gz
portage-1eaf47d9ddb16a30fce01869c877bcd1abb58937.tar.bz2
portage-1eaf47d9ddb16a30fce01869c877bcd1abb58937.zip
minor glitch: EBUILD_PHASES is a list, no need to split() it
svn path=/main/trunk/; revision=2308
-rw-r--r--pym/elog_modules/mod_syslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/elog_modules/mod_syslog.py b/pym/elog_modules/mod_syslog.py
index d58979f6a..be8e4f33d 100644
--- a/pym/elog_modules/mod_syslog.py
+++ b/pym/elog_modules/mod_syslog.py
@@ -3,7 +3,7 @@ from portage_const import EBUILD_PHASES
def process(mysettings, cpv, logentries, fulltext):
syslog.openlog("portage", syslog.LOG_ERR | syslog.LOG_WARNING | syslog.LOG_INFO | syslog.LOG_NOTICE, syslog.LOG_LOCAL5)
- for phase in EBUILD_PHASES.split():
+ for phase in EBUILD_PHASES:
if not phase in logentries:
continue
for msgtype,msgcontent in logentries[phase]: