[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.42-14-g5c2eadd

Andreas Beckmann debian at abeckmann.de
Mon Jan 9 12:18:19 UTC 2012


The following commit has been merged in the develop branch:
commit c061e3bc64919be171902d711aca13fc47ddeea7
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Jan 8 18:46:51 2012 +0100

    avoid irritating newline in logfile
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-report.py b/piuparts-report.py
index 1f969c4..babda2e 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -723,8 +723,8 @@ class Section:
         else:
           last_line = read_file(countsfile)[-1]
         if not current_day in last_line:
-          append_file(countsfile, counts)
-          logging.debug("appending line: %s" % counts) 
+            append_file(countsfile, counts)
+            logging.debug("appending line: %s" % counts.strip())
         return total
 
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list