From: Joerg Jaspert Date: Sat, 24 Jan 2009 14:20:35 +0000 (+0100) Subject: import_ldap_fingerprints X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=71349e8d397cfb3e21ffb9fd9340fd9fda8b25a0;p=dak.git import_ldap_fingerprints its existing_uid, not existing_ui Signed-off-by: Joerg Jaspert --- diff --git a/dak/import_ldap_fingerprints.py b/dak/import_ldap_fingerprints.py index 4cc8aa01..49b5b056 100755 --- a/dak/import_ldap_fingerprints.py +++ b/dak/import_ldap_fingerprints.py @@ -151,7 +151,7 @@ SELECT f.fingerprint, f.id, u.uid FROM fingerprint f, uid u WHERE f.uid = u.id print "Assigning %s to 0x%s." % (uid, fingerprint) elif existing_uid == uid: pass - elif '@' not in existing_ui: + elif '@' not in existing_uid: q = projectB.query("UPDATE fingerprint SET uid = %s WHERE id = %s" % (uid_id, fingerprint_id)) print "Promoting DM %s to DD %s with keyid 0x%s." % (existing_uid, uid, fingerprint) else: