summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/benchmarks.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/benchmarks.py b/admin/benchmarks.py
index f664cea..b6a5d99 100644
--- a/admin/benchmarks.py
+++ b/admin/benchmarks.py
@@ -24,7 +24,7 @@ try:
except ImportError:
PasslibConfigWarning = None
import passlib.utils.handlers as uh
-from passlib.utils.compat import u, print_, unicode
+from passlib.utils.compat import print_, unicode
from passlib.tests.utils import time_call
# local
@@ -93,12 +93,12 @@ from passlib.context import CryptContext
class BlankHandler(uh.HasRounds, uh.HasSalt, uh.GenericHandler):
name = "blank"
- ident = u("$b$")
+ ident = u"$b$"
setting_kwds = ("rounds", "salt", "salt_size")
checksum_size = 1
min_salt_size = max_salt_size = 1
- salt_chars = u("a")
+ salt_chars = u"a"
min_rounds = 1000
max_rounds = 3000
@@ -117,10 +117,10 @@ class BlankHandler(uh.HasRounds, uh.HasSalt, uh.GenericHandler):
class AnotherHandler(BlankHandler):
name = "another"
- ident = u("$a$")
+ ident = u"$a$"
-SECRET = u("toomanysecrets")
-OTHER = u("setecastronomy")
+SECRET = u"toomanysecrets"
+OTHER = u"setecastronomy"
#=============================================================================
# CryptContext benchmarks