summaryrefslogtreecommitdiff
path: root/passlib/hash.py
diff options
context:
space:
mode:
Diffstat (limited to 'passlib/hash.py')
-rw-r--r--passlib/hash.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/passlib/hash.py b/passlib/hash.py
index d0d3520..a246996 100644
--- a/passlib/hash.py
+++ b/passlib/hash.py
@@ -3,7 +3,8 @@
NOTE:
this module does not actually contain any hashes.
this file is a stub which is replaced by a proxy object,
- which lazy-loads hashes as requested by calling get_crypt_handler().
+ which lazy-loads hashes as requested.
+
the actually implementations of hashes (at least, those built into passlib)
are stored in the passlib.drivers subpackage.
"""
@@ -18,10 +19,10 @@ NOTE:
#import proxy object, and replace this module with it.
#this should cause any import commands to return that object,
#not this module
-from passlib.base import _hashmod as hash
+from passlib.base import _proxy
import sys
-sys.modules['passlib.hash'] = hash
-del sys, hash
+sys.modules['passlib.hash'] = _proxy
+del sys, _proxy
#=========================================================
#eoc