[Yum-devel] [PATCH] Fix unknown syslog facility mapping.
James Antill
james at fedoraproject.org
Mon Mar 22 18:28:51 UTC 2010
On Mon, 2010-03-22 at 19:33 +0200, Ville Skyttä wrote:
> ---
> yum/logginglevels.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> 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. """
ACK.
More information about the Yum-devel
mailing list