[Piuparts-commits] [piuparts] 01/01: Fix log directory creation in piuparts-report. (Closes: #746722)

Holger Levsen holger at moszumanska.debian.org
Fri May 16 15:00:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 3ce6ab715e8d910fdf41fe8388e42ad07607fad4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri May 16 16:58:20 2014 +0200

    Fix log directory creation in piuparts-report. (Closes: #746722)
---
 debian/changelog   | 1 +
 piuparts-report.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0682cb6..5421449 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ piuparts (0.59) UNRELEASED; urgency=low
   * piuparts-report.py:
     - create https URLs in source_summary_url(). This should probably be made
       configurable.
+    - fix log directory creation. (Closes: #746722)
     - fix spelling of "ditto". (Closes: #746724)
   * Packaging:
     - install cron files for piupartsm and piupartss users in
diff --git a/piuparts-report.py b/piuparts-report.py
index 13baf92..829bbbe 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -740,7 +740,7 @@ class Section:
         self._load_package_database(section, master_directory)
         self._binary_db = self._package_databases[section]
 
-        self._source_db = piupartslib.packagesdb.PackagesDB()
+        self._source_db = piupartslib.packagesdb.PackagesDB(prefix=self._section_directory)
         self._source_db.load_packages_urls(
                 self._distro_config.get_sources_urls(
                     self._config.get_distro(),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list