summaryrefslogtreecommitdiff
path: root/passlib/registry.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-03-11 18:40:35 -0400
committerEli Collins <elic@assurancetechnologies.com>2012-03-11 18:40:35 -0400
commitb970d6ee145122005f1e6808466900a94e00dfcc (patch)
tree6e77a5d3698e90691c084203932716dd8b0deb79 /passlib/registry.py
parentbacfd1448703a106d1ed45e787a03ad671ad5c6c (diff)
downloadpasslib-b970d6ee145122005f1e6808466900a94e00dfcc.tar.gz
misc bugfixes dealing with changes from last 8 or so commits
Diffstat (limited to 'passlib/registry.py')
-rw-r--r--passlib/registry.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/passlib/registry.py b/passlib/registry.py
index 5806816..e9781d9 100644
--- a/passlib/registry.py
+++ b/passlib/registry.py
@@ -294,6 +294,7 @@ def get_crypt_handler(name, default=_NOTSET):
return handler
#normalize name (and if changed, check dict again)
+ assert isinstance(name, str), "name must be str instance"
alt = name.replace("-","_").lower()
if alt != name:
warn("handler names should be lower-case, and use underscores instead "