]> git.decadent.org.uk Git - dak.git/commitdiff
remove unneeded database. reference
authorMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 16:23:06 +0000 (16:23 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 14 Mar 2009 16:23:06 +0000 (16:23 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/database.py

index 49c18f9e3731b34850c9463672f30e3a26911733..76aecb25ac15e1fdb751e0b02ad14a12c9191031 100755 (executable)
@@ -848,7 +848,7 @@ def copy_temporary_contents(package, version, arch, deb, reject):
 
     # first see if contents exist:
 
-    arch_id = database.get_architecture_id (architecture)
+    arch_id = get_architecture_id (architecture)
 
     exists = projectB.query("""SELECT 1 FROM pending_content_associations
                                WHERE package='%s'