diff MoinMoin/support/passlib/utils/md4.py @ 6096:86a41c2bedec

upgrade passlib from 1.6.2 to 1.6.5
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 05 Sep 2016 23:44:04 +0200
parents efd7c0be3339
children 7f0616feeae9
line wrap: on
line diff
--- a/MoinMoin/support/passlib/utils/md4.py	Mon Sep 05 23:29:03 2016 +0200
+++ b/MoinMoin/support/passlib/utils/md4.py	Mon Sep 05 23:44:04 2016 +0200
@@ -56,7 +56,7 @@
 
     .. method:: hexdigest
 
-        return hexdecimal version of digest
+        return hexadecimal version of digest
     """
     # FIXME: make this follow hash object PEP better.
     # FIXME: this isn't threadsafe
@@ -146,7 +146,7 @@
     ]
 
     def _process(self, block):
-        "process 64 byte block"
+        """process 64 byte block"""
         # unpack block into 16 32-bit ints
         X = struct.unpack("<16I", block)
 
@@ -258,7 +258,7 @@
 if _has_native_md4():
     # overwrite md4 class w/ hashlib wrapper
     def md4(content=None):
-        "wrapper for hashlib.new('md4')"
+        """wrapper for hashlib.new('md4')"""
         return hashlib.new('md4', content or b(''))
 
 #=============================================================================