[Collab-qa-commits] r1251 - udd/udd
lucas at alioth.debian.org
lucas at alioth.debian.org
Mon Sep 8 19:41:52 UTC 2008
Author: lucas
Date: 2008-09-08 19:41:51 +0000 (Mon, 08 Sep 2008)
New Revision: 1251
Modified:
udd/udd/packages_gatherer.py
udd/udd/popcon_gatherer.py
udd/udd/sources_gatherer.py
Log:
don't display so many useless warnings
Modified: udd/udd/packages_gatherer.py
===================================================================
--- udd/udd/packages_gatherer.py 2008-09-08 19:41:32 UTC (rev 1250)
+++ udd/udd/packages_gatherer.py 2008-09-08 19:41:51 UTC (rev 1251)
@@ -172,7 +172,7 @@
$16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28,
$29, $30, $31, '%s', '%s', '%s')
""" % (table, self._distr, src_cfg['release'], comp))
- aux.print_debug("Reading file " + path)
+# aux.print_debug("Reading file " + path)
# Copy content from gzipped file to temporary file, so that apt_pkg is
# used by debian_bundle
tmp = tempfile.NamedTemporaryFile()
@@ -180,7 +180,7 @@
tmp.write(file.read())
file.close()
tmp.seek(0)
- aux.print_debug("Importing from " + path)
+# aux.print_debug("Importing from " + path)
self.import_packages(open(tmp.name), cur)
tmp.close()
except IOError, (e, message):
Modified: udd/udd/popcon_gatherer.py
===================================================================
--- udd/udd/popcon_gatherer.py 2008-09-08 19:41:32 UTC (rev 1250)
+++ udd/udd/popcon_gatherer.py 2008-09-08 19:41:51 UTC (rev 1251)
@@ -63,7 +63,7 @@
exec 'd["%s"] = %s' % (k,k)
d['insts'] = vote + old + recent + nofiles
if ascii_match.match(name) == None:
- print "Skipping line %d of file %s as it contains illegal characters: %s" % (linenr, my_config['path'], line)
+# print "%s:%d - illegal package name %s" % (my_config['path'], linenr, line)
continue
query = "EXECUTE pop_insert(%(name)s, %(insts)s, %(vote)s, %(old)s, %(recent)s, %(nofiles)s)"
cur.execute(query, d)
Modified: udd/udd/sources_gatherer.py
===================================================================
--- udd/udd/sources_gatherer.py 2008-09-08 19:41:32 UTC (rev 1250)
+++ udd/udd/sources_gatherer.py 2008-09-08 19:41:51 UTC (rev 1251)
@@ -128,7 +128,7 @@
% (table, src_cfg['distribution'], src_cfg['release'], comp)
cur.execute(query)
- aux.print_debug("Reading file " + path)
+# aux.print_debug("Reading file " + path)
# Copy content from gzipped file to temporary file, so that apt_pkg is
# used by debian_bundle
tmp = tempfile.NamedTemporaryFile()
@@ -136,7 +136,7 @@
tmp.write(file.read())
file.close()
tmp.seek(0)
- aux.print_debug("Importing from " + path)
+# aux.print_debug("Importing from " + path)
self.import_sources(open(tmp.name))
tmp.close()
except IOError, (e, message):
More information about the Collab-qa-commits
mailing list