diff options
author | Clint Byrum <clint@fewbar.com> | 2015-05-24 08:00:59 -0700 |
---|---|---|
committer | Clint Byrum <clint@fewbar.com> | 2015-05-28 09:50:57 -0700 |
commit | caa0eb8a001aae4ec026d82223f7123b0bfae95b (patch) | |
tree | b3e29be07f5c88cb6b7514a73ce4a6f9970ca2d3 /src/saml2/ident.py | |
parent | c2f95ccfbe1158f3ead8a7109c756ef91f8a7703 (diff) | |
download | pysaml2-caa0eb8a001aae4ec026d82223f7123b0bfae95b.tar.gz |
Fix eptid key encoding for python 3
In python3 shelve wants strings for keys, but we were forcing bytes for
some reason.
Diffstat (limited to 'src/saml2/ident.py')
-rw-r--r-- | src/saml2/ident.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/saml2/ident.py b/src/saml2/ident.py index c99a3bd4..35430cd2 100644 --- a/src/saml2/ident.py +++ b/src/saml2/ident.py @@ -111,9 +111,6 @@ class IdentDB(object): :param ident: user identifier :param name_id: NameID instance """ - if isinstance(ident, six.string_types): - ident = ident.encode("utf-8") - # One user may have more than one NameID defined try: val = self.db[ident].split(" ") |