[yum-commits] Branch 'yum-3_2_X' - yum/logginglevels.py
Ville Skyttä
scop at osuosl.org
Mon Mar 22 18:58:55 UTC 2010
yum/logginglevels.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cc5d13a39dcefbc401255d224c8700f4f907f285
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Mar 22 19:31:43 2010 +0200
Fix unknown syslog facility mapping.
diff --git a/yum/logginglevels.py b/yum/logginglevels.py
index 6c23f88..3d82b55 100644
--- a/yum/logginglevels.py
+++ b/yum/logginglevels.py
@@ -75,7 +75,7 @@ def syslogFacilityMap(facility):
elif (facility.upper().startswith("LOG_") and
facility[4:].upper() in _syslog_facility_map):
return _syslog_facility_map[facility[4:].upper()]
- return syslog.LOG_USER
+ return syslog_module.LOG_USER
def logLevelFromErrorLevel(error_level):
""" Convert an old-style error logging level to the new style. """
More information about the Yum-commits
mailing list