summaryrefslogtreecommitdiff
path: root/src/saml2/mdstore.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2016-05-18 10:40:44 +0200
committerRoland Hedberg <roland.hedberg@adm.umu.se>2016-05-18 10:40:44 +0200
commitf4abf8da3b4937f16db227cd8a8a522359754b7e (patch)
treeb5b2f218650d9f077019c5469a7d701456624f95 /src/saml2/mdstore.py
parent529a561193f30c8289b745148f4f61efe5fc7fa6 (diff)
downloadpysaml2-f4abf8da3b4937f16db227cd8a8a522359754b7e.tar.gz
TO deal with Python3 returning not list but dict_items.
Diffstat (limited to 'src/saml2/mdstore.py')
-rw-r--r--src/saml2/mdstore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/mdstore.py b/src/saml2/mdstore.py
index 28d6061b..e4a4785b 100644
--- a/src/saml2/mdstore.py
+++ b/src/saml2/mdstore.py
@@ -305,7 +305,7 @@ class MetaData(object):
raise NotImplementedError
def dumps(self):
- return json.dumps(self.items(), indent=2)
+ return json.dumps(list(self.items()), indent=2)
def with_descriptor(self, descriptor):
'''