diff --git a/diceware/wordlist.py b/diceware/wordlist.py index f2727f8af9b7a3454bcfab8462f3813b96c7bb0e..7c1ce561cc8eb4bde337a9e0e3c6ce0eed471990 100644 --- a/diceware/wordlist.py +++ b/diceware/wordlist.py @@ -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('- '):