[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.47-31-g82abac6

Andreas Beckmann debian at abeckmann.de
Thu Nov 29 15:27:19 UTC 2012


The following commit has been merged in the piatti branch:
commit c6e1baf797a98bbc423210460f20b5d3f933e55c
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Nov 4 13:06:38 2012 +0100

    p-m: store packages_url in a temporary variable
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-master.py b/piuparts-master.py
index a3633c9..594ca95 100644
--- a/piuparts-master.py
+++ b/piuparts-master.py
@@ -156,8 +156,9 @@ class Master(Protocol):
         if self._recycle_mode and self._section == section:
             db.enable_recycling()
         self._package_databases[section] = db
-        logging.info("Fetching %s" % config.get_packages_url())
-        packages_file = piupartslib.open_packages_url(config.get_packages_url())
+        packages_url = config.get_packages_url()
+        logging.info("Fetching %s" % packages_url)
+        packages_file = piupartslib.open_packages_url(packages_url)
         db.read_packages_file(packages_file)
         packages_file.close()
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list