From a159377270eef489b6f2303f3d74ead04518fcad Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Mon, 26 Oct 2009 15:23:56 +0000 Subject: [PATCH] Use the correct dictionary to lookup name of users. Signed-off-by: Chris Lamb --- dak/import_keyring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/import_keyring.py b/dak/import_keyring.py index 80ba45bd..06597f85 100755 --- a/dak/import_keyring.py +++ b/dak/import_keyring.py @@ -241,7 +241,7 @@ def main(): for keyid in desuid_byid.keys(): uid = (keyid, desuid_byid[keyid][0]) name = desuid_byid[keyid][1] - oname = db_uid_byid[keyid][1] + oname = db_uid_byname[keyid][1] if name and oname != name: changes.append((uid[1], "Full name: %s" % (name))) session.execute("UPDATE uid SET name = :name WHERE id = :keyid", -- 2.39.5