]> err.no Git - dak/commitdiff
dak/import_keyring.py: fix SQL syntax error
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 22 Sep 2012 08:14:10 +0000 (10:14 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 22 Sep 2012 08:14:10 +0000 (10:14 +0200)
This was broken by 707a89a3b86961755a99cb9e1a0a5f23690f9529.

dak/import_keyring.py

index ff0cb98ea2d7c75c752629d0d4ca5a2883248577..3b53bff39f5973a496be04d730b3e34f1e601b7b 100755 (executable)
@@ -177,7 +177,7 @@ def main():
 
         changes.append((db_uid_byid.get(u, [None])[0], "Removed key: %s" % (f)))
         session.execute("""UPDATE fingerprint
-                              SET keyring = NULL,
+                              SET keyring = NULL
                             WHERE id = :fprid""", {'fprid': fid})
 
     # For the keys in this keyring, add/update any fingerprints that've