Remove unnecessary and undocumented return values. (#235)

This commit is contained in:
Felix Fontein
2021-05-19 14:02:26 +02:00
committed by GitHub
parent 69aeb2d86f
commit 3293b77f18

View File

@@ -210,10 +210,7 @@ class PublicKeyInfoRetrieval(object):
pass
def get_info(self):
result = dict(
can_parse_key=False,
key_is_consistent=None,
)
result = dict()
if self.key is None:
try:
self.key = load_publickey(content=self.content, backend=self.backend)