Verified Commit e3c0cae4 authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Remove always true 'cur_key is None' test in KeyData.read_from_gpg()

Since the pub: + fpr: sequence always appear in that order, once and on
top of a gpg with-colons output, the condition will always be true.
parent f8c18e69
......@@ -290,7 +290,6 @@ class KeyData():
# Correlate fpr with the previous pub record, and start
# gathering information for a new key
if pub:
if cur_key is None:
keys[fpr] = cur_key = cls(fpr, pub)
pub_fpr = fpr
pub = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment