[Treepkg-commits] r74 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 5 14:34:55 CEST 2008


Author: bh
Date: 2008-06-05 14:34:55 +0200 (Thu, 05 Jun 2008)
New Revision: 74

Modified:
   trunk/treepkg/packager.py
Log:
Make sure the log dir exists before attempting to run pbuilder build


Modified: trunk/treepkg/packager.py
===================================================================
--- trunk/treepkg/packager.py	2008-06-05 12:13:38 UTC (rev 73)
+++ trunk/treepkg/packager.py	2008-06-05 12:34:55 UTC (rev 74)
@@ -206,6 +206,7 @@
     def package(self):
         self.status.creating_binary_package()
         util.ensure_directory(self.binary_dir)
+        util.ensure_directory(self.log_dir)
         logging.info("Building binary package; logging to %r", self.logfile)
         self.track.builder.build(self.dsc_file, self.binary_dir, self.logfile)
         self.status.binary_package_created()



More information about the Treepkg-commits mailing list