[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.52-17-gf515a64

Andreas Beckmann anbe at debian.org
Tue May 28 11:37:40 UTC 2013


The following commit has been merged in the develop branch:
commit 3541bcfe70645cedc9a14c3995cbfc0610c6c3ec
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun May 26 13:47:45 2013 +0200

    lib/conf: add get_{packages,sources}_urls() stubs
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/piupartslib/conf.py b/piupartslib/conf.py
index aae7086..f4ef75a 100644
--- a/piupartslib/conf.py
+++ b/piupartslib/conf.py
@@ -157,12 +157,18 @@ class DistroConfig(UserDict.UserDict):
                 self.get_distribution(distro),
                 area, arch)
 
+    def get_packages_urls(self, distro, area, arch):
+        return [self.get_packages_url(distro, area, arch)]
+
     def get_sources_url(self, distro, area):
         return "%s/dists/%s/%s/source/Sources.bz2" % (
                 self.get_mirror(distro),
                 self.get_distribution(distro),
                 area)
 
+    def get_sources_urls(self, distro, area):
+        return [self.get_sources_url(distro, area)]
+
     def get_target_flags(self, distro):
         tr = self.get(distro, "target-release")
         if tr:

-- 
piuparts git repository



More information about the Piuparts-commits mailing list