提交 935f7175 编写于 作者: J Joerg Jaspert

p-u

we expect 3 values
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 1fb2a3d4
......@@ -1000,7 +1000,7 @@ def lookup_uid_from_fingerprint(fpr):
q = Upload.projectB.query("SELECT u.uid, u.name, k.debian_maintainer FROM fingerprint f JOIN keyrings k ON (f.keyring=k.id), uid u WHERE f.uid = u.id AND f.fingerprint = '%s'" % (fpr))
qs = q.getresult()
if len(qs) == 0:
return (None, None)
return (None, None, None)
else:
return qs[0]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册