[Treepkg-commits] r429 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 9 18:18:55 CEST 2010


Author: aheinecke
Date: 2010-09-09 18:18:54 +0200 (Thu, 09 Sep 2010)
New Revision: 429

Modified:
   trunk/treepkg/packager.py
Log:
Update the stop time after all logs are compressed


Modified: trunk/treepkg/packager.py
===================================================================
--- trunk/treepkg/packager.py	2010-09-09 15:40:34 UTC (rev 428)
+++ trunk/treepkg/packager.py	2010-09-09 16:18:54 UTC (rev 429)
@@ -401,9 +401,9 @@
 
                 bin_packager = self.binary_packager_cls(self, dsc_file, self.build_log)
                 bin_packager.package()
-                self.status.stop = datetime.datetime.utcnow()
             finally:
                 util.compress_all_logs(self.log_dir)
+                self.status.stop = datetime.datetime.utcnow()
         except:
             self.status.error()
             self.status.stop = datetime.datetime.utcnow()



More information about the Treepkg-commits mailing list