summaryrefslogtreecommitdiff
path: root/wsgitools/digest.py
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools/digest.py')
-rwxr-xr-xwsgitools/digest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wsgitools/digest.py b/wsgitools/digest.py
index 28fb9c7..c30d0e9 100755
--- a/wsgitools/digest.py
+++ b/wsgitools/digest.py
@@ -13,7 +13,9 @@ import time
sysrand = random.SystemRandom()
def parse_digest_response(data, ret=dict()):
- """internal"""
+ """internal
+ @raises ValueError:
+ """
data = data.strip()
key, rest = data.split('=', 1) # raises ValueError
if rest.startswith('"'):