]> git.decadent.org.uk Git - dak.git/commitdiff
fix exception in 'dak override'
authorTorsten Werner <twerner@debian.org>
Sat, 1 Jan 2011 22:42:31 +0000 (23:42 +0100)
committerTorsten Werner <twerner@debian.org>
Sat, 1 Jan 2011 22:42:31 +0000 (23:42 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/override.py

index 3e8a9b4149ea7e9f7328534e171ea30283038c59..d280aa8b4427205f39ff61736182f3e527502e15 100755 (executable)
@@ -121,7 +121,7 @@ def main ():
         if q.rowcount == 0:
             continue
         if q.rowcount > 1:
-            utils.fubar("%s is ambiguous. Matches %d packages" % (package,q.ntuples()))
+            utils.fubar("%s is ambiguous. Matches %d packages" % (package,q.rowcount))
 
         r = q.fetchone()
         if packagetype == 'binary':