[Piuparts-devel] [Git][debian/piuparts][develop] improve output

Holger Levsen gitlab at salsa.debian.org
Thu Nov 29 12:33:21 GMT 2018


Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
b09e994f by Holger Levsen at 2018-11-29T12:32:37Z
improve output

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- master-bin/detect_well_known_errors.py


Changes:

=====================================
master-bin/detect_well_known_errors.py
=====================================
@@ -3,6 +3,7 @@
 
 # Copyright 2013 David Steele (dsteele at gmail.com)
 # Copyright © 2014 Andreas Beckmann (anbe at debian.org)
+# Copyright © 2017-2018 Holger Levsen (holger at layer-acht.org)
 #
 # This file is part of Piuparts
 #
@@ -132,9 +133,9 @@ def detect_well_known_errors(sections, config, problem_list, recheck, recheck_fa
         except MissingSection:
             pass
 
+    current_time=time.strftime("%a %b %2d %H:%M:%S %Z %Y", time.localtime())
+    logging.info("%s - total parsed logfiles: %d removed, %d added" % (current_time, total_del, total_add))
     logging.info("")
-    logging.info(time.strftime("%a %b %2d %H:%M:%S %Z %Y", time.localtime()))
-    logging.info("total parsed logfiles: %d removed, %d added" % (total_del, total_add))
 
 
 if __name__ == '__main__':



View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/b09e994f14db3a71d99fa8131ae18d7ff7766e26

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/b09e994f14db3a71d99fa8131ae18d7ff7766e26
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181129/e2b98161/attachment.html>


More information about the Piuparts-devel mailing list