]> err.no Git - dak/commitdiff
A little more debug, more verbose
authorJoerg Jaspert <joerg@debian.org>
Fri, 13 Mar 2009 22:45:35 +0000 (23:45 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 13 Mar 2009 22:45:35 +0000 (23:45 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/contents.py [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 36546f5..c0713c7
@@ -278,8 +278,9 @@ class Contents(object):
                     cursor1.execute( "EXECUTE olddeb_q(%d)" % (deb[0] ) )
                     old = cursor1.fetchone()
                     if old:
-                        log.debug( "already imported: %s" % deb[1] )
+                        log.debug( "already imported: %s" % (deb[1]) )
                     else:
+                        log.debug( "scanning: %s" % (deb[1]) )
                         debfile = os.path.join( pooldir, deb[1] )
                         if os.path.exists( debfile ):
                             Binary(debfile, self.reject).scan_package( deb[0] )