X-Git-Url: https://mudpy.org/gitweb?a=blobdiff_plain;f=lib%2Fmudpy%2Fpassword.py;h=bad5579e3557640b73a0e728c4b3e87b5e800409;hb=c817b9432d6ac5512dc86a266ac033d3078fcdcc;hp=68e1a5fa02795e31701a04755ae96c08b5a386bb;hpb=d14168d58aedb181e31b224240667a68c0ec0bfa;p=mudpy.git 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: