]> err.no Git - dak/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 21:38:13 +0000 (22:38 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/queue_install.py

index a9c94ae86295fcf11341db29519dd7a6a792a517..aa58a64b3cc994d209c9d4b47aba62bb9be96f22 100755 (executable)
@@ -110,7 +110,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()