diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2012-03-11 18:40:35 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2012-03-11 18:40:35 -0400 |
commit | b970d6ee145122005f1e6808466900a94e00dfcc (patch) | |
tree | 6e77a5d3698e90691c084203932716dd8b0deb79 /passlib/registry.py | |
parent | bacfd1448703a106d1ed45e787a03ad671ad5c6c (diff) | |
download | passlib-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.py | 1 |
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 " |