summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]: