[yum-cvs] yum/yum packages.py,1.102,1.103

James Bowes jbowes at linux.duke.edu
Sun Jun 3 11:18:16 UTC 2007


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

Modified Files:
	packages.py 
Log Message:
Fix installing more than one package from a DVD repo.

Patch from rhbz #241604


Index: packages.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/packages.py,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- packages.py	29 May 2007 15:39:45 -0000	1.102
+++ packages.py	3 Jun 2007 11:18:14 -0000	1.103
@@ -486,6 +486,8 @@
             return None
         (scheme, netloc, path, query, fragid) = urlparse.urlsplit(self.basepath)
         if scheme == "media":
+           if len(fragid) == 0:
+               return 0
             return int(fragid)
         return None
     




More information about the Yum-cvs-commits mailing list