From 60317b0fd991245512ef42547b5876faf4d129a0 Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Sat, 14 Mar 2009 11:03:39 -0400 Subject: [PATCH] fix the stupid commit that preceeded Signed-off-by: Mike O'Connor --- dak/update_db.py | 2 +- daklib/.#dbconn.py | 1 - daklib/binary.py | 2 +- daklib/dbconn.py | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 120000 daklib/.#dbconn.py diff --git a/dak/update_db.py b/dak/update_db.py index b596f2fc..55dda5da 100755 --- a/dak/update_db.py +++ b/dak/update_db.py @@ -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 index ed69a0a0..00000000 --- a/daklib/.#dbconn.py +++ /dev/null @@ -1 +0,0 @@ -stew@tang.vireo.org.14091:1236689528 \ No newline at end of file diff --git a/daklib/binary.py b/daklib/binary.py index 2e8028f2..29c5c2ad 100755 --- a/daklib/binary.py +++ b/daklib/binary.py @@ -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))) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 2c4d1a0e..c290b60f 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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 -- 2.39.5