From 86ca67c3421f3ea64f60f67f4fd43acb662b2cf7 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 22 Nov 2013 10:27:38 +0000 Subject: [PATCH] Fix an incorrect TODO comment line --- lib/mudpy/password.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.11.0