diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2012-01-18 16:37:53 -0500 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2012-01-18 16:37:53 -0500 |
| commit | 8cc56a03f05fac2d5717394ced5f53cf71b17814 (patch) | |
| tree | 69e8f5907537cc93558c16d141720560533d7a6c /passlib/utils/md4.py | |
| parent | ffb343b6bb0ba8b6015f19493347c7aae65739fd (diff) | |
| download | passlib-8cc56a03f05fac2d5717394ced5f53cf71b17814.tar.gz | |
cleanups to utils
Diffstat (limited to 'passlib/utils/md4.py')
| -rw-r--r-- | passlib/utils/md4.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/passlib/utils/md4.py b/passlib/utils/md4.py index 435f98e..df3be70 100644 --- a/passlib/utils/md4.py +++ b/passlib/utils/md4.py @@ -237,8 +237,8 @@ _builtin_md4 = md4 #========================================================================= #check if hashlib provides accelarated md4 #========================================================================= -from passlib.utils.compat import PYPY import hashlib +from passlib.utils import PYPY def _has_native_md4(): try: @@ -262,8 +262,6 @@ if _has_native_md4(): def md4(content=None): "wrapper for hashlib.new('md4')" return hashlib.new('md4', content or b('')) -else: - del hashlib #========================================================================= #eof |
