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

Fix (incorrect) docstring.

parent bade0647
Branches
Tags
No related merge requests found
......@@ -61,7 +61,8 @@ def is_signed_wordlist(file_descriptor):
def refine_wordlist_entry(entry, signed=False):
"""Apply modifications to form a proper wordlist entry.
If the given entry is not valid at all, we return `None`.
Set `signed` to `True` if the entry is part of a cryptographically
signed wordlist.
"""
entry = entry.strip()
if signed and entry.startswith('- '):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment