From e2d9a9883a4d0f28f5864ebaa2659045f8b47e95 Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Mon, 27 Jul 2015 15:19:47 +0200
Subject: [PATCH] Fix (incorrect) docstring.

---
 diceware/wordlist.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/diceware/wordlist.py b/diceware/wordlist.py
index f2727f8..7c1ce56 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('- '):
-- 
GitLab