summaryrefslogtreecommitdiff
path: root/passlib/context.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2012-04-12 21:52:26 -0400
committerEli Collins <elic@assurancetechnologies.com>2012-04-12 21:52:26 -0400
commitc0f420bf7d7659ee110432f7cbb0233554dfd32a (patch)
treed8416c7cd9b5f5d54e5fcb58fafa02f64da07352 /passlib/context.py
parente71ddce83853566311effebf68b9bbbdebf4c2ab (diff)
downloadpasslib-c0f420bf7d7659ee110432f7cbb0233554dfd32a.tar.gz
assorted bugfixes, tweaks, and tests added; based on coverage examination
* test os_crypt backend has functional fallback * test handler methods accept all unicode/bytes combinations for secret & hash * fixed some incorrect error messages & types being caught & raised * other minor cleanups
Diffstat (limited to 'passlib/context.py')
-rw-r--r--passlib/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/passlib/context.py b/passlib/context.py
index 2eb1a4f..8480ab7 100644
--- a/passlib/context.py
+++ b/passlib/context.py
@@ -20,7 +20,7 @@ from passlib.exc import PasslibConfigWarning, ExpectedStringError
from passlib.registry import get_crypt_handler, _validate_handler_name
from passlib.utils import is_crypt_handler, rng, saslprep, tick, to_bytes, \
to_unicode
-from passlib.utils.compat import bytes, is_mapping, iteritems, num_types, \
+from passlib.utils.compat import bytes, iteritems, num_types, \
PY3, PY_MIN_32, unicode, SafeConfigParser, \
NativeStringIO, BytesIO, base_string_types
#pkg