[yum-commits] Branch 'yum-3_2_X' - 2 commits - yum/yumRepo.py

skvidal at osuosl.org skvidal at osuosl.org
Tue Nov 18 16:18:50 UTC 2008


 yum/yumRepo.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 5a5c9352694ba416d03cc81979a9eeed36456123
Merge: a7356cf... 6121276...
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Nov 18 11:18:37 2008 -0500

    Merge branch 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum into yum-3_2_X
    
    * 'yum-3_2_X' of ssh://yum.baseurl.org/srv/projects/yum/git/yum:
      Test cases for kernel/kernel-xen obsoletes
      Remove debug lines, fix "yum update foo" where foo is obsolseted by an update
      Add test case and fix for 471736, same as 470440 but for update not install
      Cleanup the repomd.xml.asc files with the metadata
      Only try importing the repo key, if the sig verify failed (like pkgs).

commit a7356cf0f23483fc75e895179e5328e2aa6c5db6
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Nov 18 11:17:51 2008 -0500

    yes, umm, if you do need to get headers for some crack reason (like checking for
    potential file conflicts) then you need to make the header dir.

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 01ff5ea..00dc2b6 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -780,6 +780,9 @@ class YumRepository(Repository, config.RepoConf):
         start = package.hdrstart
         end = package.hdrend
         basepath = package.basepath
+        # yes, I know, don't ask
+        if not os.path.exists(self.hdrdir):
+            os.makedirs(self.hdrdir)
 
         return self._getFile(url=basepath, relative=remote, local=local, start=start,
                         reget=None, end=end, checkfunc=checkfunc, copy_local=1,


More information about the Yum-commits mailing list