[yum-cvs] /yum-utils yumdownloader.py,1.11,1.12

Tim Lauridsen timlau at linux.duke.edu
Mon Sep 25 06:44:07 UTC 2006


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

Modified Files:
	yumdownloader.py 
Log Message:
a my.errorlog -> logger.error fix by Andreas Hanke 

Index: yumdownloader.py
===================================================================
RCS file: /home/groups/yum/cvs//yum-utils/yumdownloader.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- yumdownloader.py	18 Sep 2006 15:40:51 -0000	1.11
+++ yumdownloader.py	25 Sep 2006 06:44:04 -0000	1.12
@@ -104,7 +104,7 @@
         exactmatch, matched, unmatched = parsePackages(avail, [pkg])
         installable = yum.misc.unique(exactmatch + matched)
         if len(unmatched) > 0: # if we get back anything in unmatched, it fails
-            my.errorlog(0, 'No Match for argument %s' % pkg)
+            logger.error('No Match for argument %s' % pkg)
             continue
 
         for newpkg in installable:




More information about the Yum-cvs-commits mailing list