[yum-git] yum/logginglevels.py

Tim Lauridsen timlau at linux.duke.edu
Thu Jun 12 10:51:01 UTC 2008


 yum/logginglevels.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e49c53a2e831dce43b2b1492177a589753117552
Author: Tim Lauridsen <tla at rasmil.dk>
Date:   Thu Jun 12 12:40:58 2008 +0200

    Cleanup some typo's in EasyLogger

diff --git a/yum/logginglevels.py b/yum/logginglevels.py
index 3e00a4e..8b1d233 100644
--- a/yum/logginglevels.py
+++ b/yum/logginglevels.py
@@ -249,7 +249,7 @@ class EasyLogger:
 
         now = time.time()
         out = msg % args
-        self.debug("%s: time=%.4f" (out, now - old_tm))
+        self.debug("%s: time=%.4f" % (out, now - oldtm))
 
     def debug1(self, msg, *args):
         """ Log a message as log.DEBUG_1. """



More information about the Yum-cvs-commits mailing list