From 71349e8d397cfb3e21ffb9fd9340fd9fda8b25a0 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 24 Jan 2009 15:20:35 +0100 Subject: [PATCH] import_ldap_fingerprints its existing_uid, not existing_ui Signed-off-by: Joerg Jaspert --- dak/import_ldap_fingerprints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5