[dak/master] fix the stupid commit that preceeded
Signed-off-by: Mike O'Connor <stew@vireo.org>
---
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 b596f2f..55dda5d 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 ed69a0a..0000000
--- 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 2e8028f..29c5c2a 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 2c4d1a0..c290b60 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
--
1.5.6.5
Reply to: