summaryrefslogtreecommitdiff
path: root/src/saml2/mdstore.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/mdstore.py')
-rw-r--r--src/saml2/mdstore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/saml2/mdstore.py b/src/saml2/mdstore.py
index f3f26546..999d1ecf 100644
--- a/src/saml2/mdstore.py
+++ b/src/saml2/mdstore.py
@@ -1693,4 +1693,5 @@ class MetadataStore(MetaData):
return "%s" % res
elif format == "md":
- return json.dumps(self.items(), indent=2)
+ # self.items() returns dictitems(), convert that back into a dict
+ return json.dumps(dict(self.items()), indent=2)