Skip to content
Snippets Groups Projects
Commit b50c7e0b authored by ulif's avatar ulif
Browse files

Strip unneccessary strip().

parent cea9eec2
No related branches found
No related tags found
No related merge requests found
...@@ -111,12 +111,11 @@ def get_signed_wordlist(file_descriptor): ...@@ -111,12 +111,11 @@ def get_signed_wordlist(file_descriptor):
# wait for first empty line # wait for first empty line
pass pass
for line in file_descriptor.readlines(): for line in file_descriptor.readlines():
line = line.strip()
if line == '-----BEGIN PGP SIGNATURE-----':
break
line = refine_wordlist_entry(line, signed=True) line = refine_wordlist_entry(line, signed=True)
if not line: if not line:
continue continue
elif line == '-----BEGIN PGP SIGNATURE-----':
break
result += [line, ] result += [line, ]
file_descriptor.close() file_descriptor.close()
return result return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment