[yum-git] yum/logginglevels.py

James Bowes jbowes at linux.duke.edu
Fri Feb 1 18:53:45 UTC 2008


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

New commits:
commit 9af98d220af88ed9cd2a5f5e7cf19ce18e6e8fad
Author: James Bowes <jbowes at redhat.com>
Date:   Fri Feb 1 13:53:34 2008 -0500

    Fix misnamed variable

diff --git a/yum/logginglevels.py b/yum/logginglevels.py
index 5ba3a70..ce7a92c 100644
--- a/yum/logginglevels.py
+++ b/yum/logginglevels.py
@@ -150,7 +150,7 @@ def setFileLog(uid, logfile):
     if uid == 0:
         try:
             # For installroot etc.
-            logdir = os.path.dirname(filename)
+            logdir = os.path.dirname(logfile)
             if not os.path.exists(logdir):
                 os.makedirs(logdir, mode=0755)
 



More information about the Yum-cvs-commits mailing list