summaryrefslogtreecommitdiff
path: root/src/saml2test/check.py
diff options
context:
space:
mode:
authorClint Byrum <clint@fewbar.com>2015-05-20 23:31:17 -0700
committerClint Byrum <clint@fewbar.com>2015-05-21 00:13:26 -0700
commit9c91638891c9b29d8b1b7032422af5f8aa596fd9 (patch)
tree0400e8120c655adda51797da34e59cf292d3bcbe /src/saml2test/check.py
parent3db1cb25d83e3665d030b1b81a5f1c0755cb1aa6 (diff)
downloadpysaml2-9c91638891c9b29d8b1b7032422af5f8aa596fd9.tar.gz
Fix more basestring py3k issues
basestring has been removed from python 3.
Diffstat (limited to 'src/saml2test/check.py')
-rw-r--r--src/saml2test/check.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/saml2test/check.py b/src/saml2test/check.py
index 2433e319..71093714 100644
--- a/src/saml2test/check.py
+++ b/src/saml2test/check.py
@@ -1,5 +1,6 @@
import inspect
import json
+import six
__author__ = 'rolandh'
@@ -91,7 +92,7 @@ class ResponseInfo(Information):
self._status = self.status
_msg = conv.last_content
- if isinstance(_msg, basestring):
+ if isinstance(_msg, six.string_types):
self._message = _msg
else:
self._message = _msg.to_dict()