changeset 469:b207d63f305a

Update the stop time after all logs are compressed
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 09 Sep 2010 16:18:54 +0000
parents 0cbf154431db
children a4bf8280ed0b
files treepkg/packager.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/packager.py	Thu Sep 09 15:40:34 2010 +0000
+++ b/treepkg/packager.py	Thu Sep 09 16:18:54 2010 +0000
@@ -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()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)