[Piuparts-commits] rev 305 - trunk
Holger Levsen
holger at alioth.debian.org
Tue Mar 31 17:31:24 UTC 2009
Author: holger
Date: 2009-03-31 17:31:24 +0000 (Tue, 31 Mar 2009)
New Revision: 305
Modified:
trunk/piuparts-report.py
Log:
improve readibility of the mail report
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-03-29 11:53:44 UTC (rev 304)
+++ trunk/piuparts-report.py 2009-03-31 17:31:24 UTC (rev 305)
@@ -601,14 +601,13 @@
for state in st.get_states():
header += ", %s" % state
counts += ", %s" % len(st.get_packages_in_state(state))
+ logging.debug("%s: %s" % header, counts)
header += "\n"
counts += "\n"
if not os.path.isfile("counts.txt"):
write_file("counts.txt", header)
append_file("counts.txt", counts)
- logging.debug("States: %s" % header)
- logging.debug("Counts: %s" % counts)
def find_log(self, package):
n = self._db._logdb._log_name(package["Package"], package["Version"])
More information about the Piuparts-commits
mailing list