[yum-cvs] yum/yum logginglevels.py,1.10,1.11
Seth Vidal
skvidal at linux.duke.edu
Fri Jul 20 16:17:21 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv11217/yum
Modified Files:
logginglevels.py
Log Message:
set logging.raiseExceptions to false so that piping to less from normal
calls won't result in spewed tracebacks that we can't catch.
Index: logginglevels.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/logginglevels.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- logginglevels.py 29 May 2007 15:16:35 -0000 1.10
+++ logginglevels.py 20 Jul 2007 16:17:19 -0000 1.11
@@ -43,6 +43,7 @@
# High level to effectively turn off logging.
# For compatability with the old logging system.
__NO_LOGGING = 100
+logging.raiseExceptions = False
def logLevelFromErrorLevel(error_level):
""" Convert an old-style error logging level to the new style. """
More information about the Yum-cvs-commits
mailing list