Remove unnecessary and undocumented return values. (#235)

pull/239/head
Felix Fontein 2021-05-19 14:02:26 +02:00 committed by GitHub
parent 69aeb2d86f
commit 3293b77f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

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)