X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=lib%2Fmudpy%2Fpassword.py;fp=lib%2Fmudpy%2Fpassword.py;h=bad5579e3557640b73a0e728c4b3e87b5e800409;hp=68e1a5fa02795e31701a04755ae96c08b5a386bb;hb=86ca67c3421f3ea64f60f67f4fd43acb662b2cf7;hpb=d92cf2f5ca5d8c4c0cd57d2a8bd0920d6ad22382 diff --git a/lib/mudpy/password.py b/lib/mudpy/password.py index 68e1a5f..bad5579 100644 --- a/lib/mudpy/password.py +++ b/lib/mudpy/password.py @@ -162,7 +162,7 @@ def create( # number of times for i in range(2 ** rounds): hashed = algorithms[algorithm](hashed.encode("utf-8")).digest() - # TODO: remove this exception trap after the switch to py2k + # TODO: remove this check after the switch to py3k try: hashed = "".join(format(x, "02x") for x in bytes(hashed)) except ValueError: