提交 a1593772 编写于 作者: C Chris Lamb

Use the correct dictionary to lookup name of users.

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 e4fd0193
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册