[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-782-gd639116

Andreas Beckmann debian at abeckmann.de
Mon Jun 18 21:15:26 UTC 2012


The following commit has been merged in the piatti branch:
commit 6b7ca7e949a6329b725942f21a70dc9da93ed598
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sat Jun 2 15:27:54 2012 +0200

    p-m: compute the Packages file URL
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-master.py b/piuparts-master.py
index b58a809..84ffef0 100644
--- a/piuparts-master.py
+++ b/piuparts-master.py
@@ -52,8 +52,11 @@ class Config(piupartslib.conf.Config):
         piupartslib.conf.Config.__init__(self, section,
             {
                 "log-file": None,
-                "packages-url": None,
                 "master-directory": ".",
+                "mirror": None,
+                "distro": None,
+                "area": None,
+                "arch": None,
             },
             defaults_section=defaults_section)
 
@@ -215,8 +218,8 @@ def main():
             print 'busy'
             sys.exit(1)
 
-        logging.info("Fetching %s" % config["packages-url"])
-        packages_file = piupartslib.open_packages_url(config["packages-url"])
+        logging.info("Fetching %s" % config.get_packages_url())
+        packages_file = piupartslib.open_packages_url(config.get_packages_url())
 
         m = Master(sys.stdin, sys.stdout, packages_file, section=section)
         while m.do_transaction():

-- 
piuparts git repository



More information about the Piuparts-commits mailing list