]> err.no Git - dak/commitdiff
trailing whitespace, update to 18 not 20
authorMike O'Connor <stew@vireo.org>
Fri, 30 Oct 2009 09:16:36 +0000 (10:16 +0100)
committerMike O'Connor <stew@vireo.org>
Fri, 30 Oct 2009 09:16:36 +0000 (10:16 +0100)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/dakdb/update18.py
daklib/changes.py

index b35c84b3851cf5a1674dcbb45f649f3a2fcfa124..50767d888d02ceb64501360321b91af50cf2e8d5 100755 (executable)
@@ -153,9 +153,9 @@ def do_update(self):
         c.execute("GRANT ALL ON known_changes TO ftpmaster;")
         c.execute("GRANT SELECT ON known_changes TO public;")
 
-        c.execute("UPDATE config SET value = '20' WHERE name = 'db_revision'")
+        c.execute("UPDATE config SET value = '18' WHERE name = 'db_revision'")
         self.db.commit()
 
     except psycopg2.ProgrammingError, msg:
         self.db.rollback()
-        raise DBUpdateError, "Unable to apply source format update 15, rollback issued. Error message : %s" % (str(msg))
+        raise DBUpdateError, "Unable to apply known_changes update 18, rollback issued. Error message
index 2ecd9af421752d4630c57806abe7ac3803bcb86c..c5ac64a917d99c7f1b871ce6d198e1ec53185d84 100755 (executable)
@@ -188,7 +188,7 @@ class Changes(object):
         if privatetrans:
             session.commit()
             session.close()
-            
+
     def add_known_changes(self, queue, session=None):
         cnf = Config()