[Collab-qa-commits] r1569 - udd/udd

Lucas Nussbaum lucas at alioth.debian.org
Sat Sep 5 12:51:26 UTC 2009


Author: lucas
Date: 2009-09-05 12:51:26 +0000 (Sat, 05 Sep 2009)
New Revision: 1569

Modified:
   udd/udd/popcon_gatherer.py
Log:
small fix to output of popcon

Modified: udd/udd/popcon_gatherer.py
===================================================================
--- udd/udd/popcon_gatherer.py	2009-09-05 12:50:09 UTC (rev 1568)
+++ udd/udd/popcon_gatherer.py	2009-09-05 12:51:26 UTC (rev 1569)
@@ -63,7 +63,7 @@
           exec 'd["%s"] = %s' % (k,k)
         d['insts'] = vote + old + recent + nofiles
         if ascii_match.match(name) == None:
-          print "%s:%d - illegal package name %s" % (my_config['path'], linenr, line)
+          print "%s:%d - illegal package name %s" % (my_config['path'], linenr, line.rstrip("\n"))
           continue
         query = "EXECUTE pop_insert(%(name)s, %(insts)s, %(vote)s, %(old)s, %(recent)s, %(nofiles)s)"
         cur.execute(query, d)




More information about the Collab-qa-commits mailing list