]> git.decadent.org.uk Git - dak.git/commitdiff
fix the stupid commit that preceeded
authorMike O'Connor <stew@vireo.org>
Sat, 14 Mar 2009 15:03:39 +0000 (11:03 -0400)
committerMike O'Connor <stew@vireo.org>
Sat, 14 Mar 2009 15:03:39 +0000 (11:03 -0400)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/update_db.py
daklib/.#dbconn.py [deleted symlink]
daklib/binary.py
daklib/dbconn.py

index b596f2fc9f92797b2443782abdeeaf10f21abd1d..55dda5da84ec6d67619a737988241b2e3ea4a51e 100755 (executable)
@@ -45,7 +45,7 @@ from daklib.dak_exceptions import DBUpdateError
 
 Cnf = None
 projectB = None
-required_database_schema = 8
+required_database_schema = 9
 
 ################################################################################
 
diff --git a/daklib/.#dbconn.py b/daklib/.#dbconn.py
deleted file mode 120000 (symlink)
index ed69a0a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-stew@tang.vireo.org.14091:1236689528
\ No newline at end of file
index 2e8028f25de593f569463538b0a4fb93e44fc9e1..29c5c2ad5029c69e35d0e92013b2a345b7209abe 100755 (executable)
@@ -141,7 +141,7 @@ class Binary(object):
             if en(self.chunks) < 3:
                 rejected = True
                 self.reject("%s: found %d chunks, expected at least 3." % (self.filename, len(self.chunks)))
-        else
+        else:
             if en(self.chunks) != 3:
                 rejected = True
                 self.reject("%s: found %d chunks, expected 3." % (self.filename, len(self.chunks)))
index 2c4d1a0e470747d07371b60e2484584567067f72..c290b60f84a8f0c9f789c72c3843e7af58db516f 100755 (executable)
@@ -546,7 +546,7 @@ class DBConn(Singleton):
 
         c.execute("BEGIN WORK")
         try:
-            arch_id = self.get_architecture_id(package[Architecture])
+            arch_id = self.get_architecture_id(package['Architecture'])
 
                 # Remove any already existing recorded files for this package
             c.execute("""DELETE FROM pending_content_associations