minor glitch: EBUILD_PHASES is a list, no need to split() it
authorMarius Mauch <genone@gentoo.org>
Sun, 13 Nov 2005 15:03:44 +0000 (15:03 -0000)
committerMarius Mauch <genone@gentoo.org>
Sun, 13 Nov 2005 15:03:44 +0000 (15:03 -0000)
svn path=/main/trunk/; revision=2308

pym/elog_modules/mod_syslog.py

index d58979f6a6bb8ce8a6da736d2540bc70486bdeef..be8e4f33d28822419574f68cb72f88645c13dd56 100644 (file)
@@ -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]: