From: Ansgar Burchardt Date: Sat, 22 Sep 2012 08:14:10 +0000 (+0200) Subject: dak/import_keyring.py: fix SQL syntax error X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec91e0bb78ac0603c06d152524b3877948662de;p=dak dak/import_keyring.py: fix SQL syntax error This was broken by 707a89a3b86961755a99cb9e1a0a5f23690f9529. --- diff --git a/dak/import_keyring.py b/dak/import_keyring.py index ff0cb98e..3b53bff3 100755 --- a/dak/import_keyring.py +++ b/dak/import_keyring.py @@ -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