summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2020-10-06 14:13:33 -0400
committerEli Collins <elic@assurancetechnologies.com>2020-10-06 14:13:33 -0400
commit65f4a25efd41639552df52dba40bfc377ae00871 (patch)
tree363bf55e05d7484d8b407e58fa2526719138b201 /admin
parentcc1c32da8866bdcc65bee916cd202f660b0cd88e (diff)
downloadpasslib-65f4a25efd41639552df52dba40bfc377ae00871.tar.gz
cleanup old python compat -- removed PY2 & PY3 conditionals
Diffstat (limited to 'admin')
-rw-r--r--admin/bench_pbkdf2.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/admin/bench_pbkdf2.py b/admin/bench_pbkdf2.py
index 4492f82..e04f46d 100644
--- a/admin/bench_pbkdf2.py
+++ b/admin/bench_pbkdf2.py
@@ -23,7 +23,6 @@ except ImportError:
assert reload, "expected builtin reload()" # py2x
# site
# pkg
-from passlib.utils.compat import PY3
# local
#=============================================================================
@@ -124,9 +123,6 @@ def main():
import passlib.crypto.digest as digest_mod
for backend in ["from-bytes", "unpack", "hexlify"]:
name = "p/%s" % backend
- if backend == "from-bytes" and not PY3:
- na(name)
- continue
os.environ['PASSLIB_PBKDF2_BACKEND'] = backend
reload(digest_mod)
benchmark(name,