From: Marius Mauch Date: Sun, 13 Nov 2005 15:03:44 +0000 (-0000) Subject: minor glitch: EBUILD_PHASES is a list, no need to split() it X-Git-Tag: v2.1_pre1~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1eaf47d9ddb16a30fce01869c877bcd1abb58937;p=portage.git minor glitch: EBUILD_PHASES is a list, no need to split() it svn path=/main/trunk/; revision=2308 --- 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]: