summaryrefslogtreecommitdiff
path: root/wsgitools/digest.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-07-12 15:01:37 +0200
committerHelmut Grohne <helmut@subdivi.de>2008-07-12 15:01:37 +0200
commitcded5172465b7bcd8bb2d013a856a898303c4b6b (patch)
tree4312e897e6f05d321532372d4b5b18ccf6b44b9a /wsgitools/digest.py
parent3519854edbc2a1abb82e719306a074bddb8b18a7 (diff)
downloadwsgitools-cded5172465b7bcd8bb2d013a856a898303c4b6b.tar.gz
fix some comments and epydocify them
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('"'):