]> git.decadent.org.uk Git - dak.git/commitdiff
use the right var name, stupid
authorJoerg Jaspert <joerg@debian.org>
Tue, 14 Dec 2010 21:38:13 +0000 (22:38 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 14 Dec 2010 22:44:20 +0000 (23:44 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/queue_install.py

index e9d2a4d3fc179830c40bbf9e08e9b0da6607adf3..b273536058c603c5bc487d32d33fa4377a9f5716 100755 (executable)
@@ -109,7 +109,7 @@ def is_unembargo(u):
 
    if u.pkg.directory == disdir:
        if u.pkg.changes["architecture"].has_key("source"):
-           session.execute("INSERT INTO disembargo (package, version) VALUES (:package, :version)",
+           session.execute("INSERT INTO disembargo (package, version) VALUES (:source, :version)",
                            {'source': u.pkg.changes["source"],
                             'version': u.pkg.changes["version"]})
            session.commit()