]> git.decadent.org.uk Git - dak.git/commitdiff
not only does this want correct syntax, but also correct indexes for our tuples....
authorJoerg Jaspert <joerg@debian.org>
Wed, 15 Apr 2009 21:12:37 +0000 (23:12 +0200)
committerJoerg Jaspert <joerg@debian.org>
Wed, 15 Apr 2009 21:12:37 +0000 (23:12 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/database.py

index a995378b3db78116c967bd205a9086e828c9ef5d..a52555682624ca8aac8fa693acac8f805eb797f4 100755 (executable)
@@ -858,7 +858,7 @@ def get_new_comments(package):
                            """ % (package))
 
     for row in query.getresult():
-        comments.append("\nAuthor: %s\nVersion: %s\nTimestamp: %s\n\n%s\n" % (row[2], row[0], row[4], row[1]))
+        comments.append("\nAuthor: %s\nVersion: %s\nTimestamp: %s\n\n%s\n" % (row[2], row[0], row[3], row[1]))
         comments.append("-"*72)
 
     return comments