[yum-cvs] yum/yum plugins.py,1.30,1.31

Panu Matilainen pmatilai at linux.duke.edu
Tue Sep 5 17:57:06 UTC 2006


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv30777

Modified Files:
	plugins.py 
Log Message:
- dont traceback trying to call nonexistent log() method if plugin
  configuration not found


Index: plugins.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/plugins.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- plugins.py	23 Jun 2006 14:26:17 -0000	1.30
+++ plugins.py	5 Sep 2006 17:57:04 -0000	1.31
@@ -240,10 +240,10 @@
             if os.access(conffilename, os.R_OK):
                 # Found configuration file
                 break
-            self.base.log(3, "Configuration file %s not found" % conffilename)
+            self.verbose_logger.log(logginglevels.INFO_2, "Configuration file %s not found" % conffilename)
         else: # for
             # Configuration files for the plugin not found
-            self.base.log(2, "Unable to find configuration file for plugin %s"
+            self.verbose_logger.log(logginglevels.INFO_2, "Unable to find configuration file for plugin %s"
                 % modname)
             return None
 




More information about the Yum-cvs-commits mailing list