Skip to content

Commit 97a5548

Browse files
committed
Merge pull request #6 from patrick91/fix/logout
Fix staticmethod issue on logout.
2 parents 3e03e04 + c0a2081 commit 97a5548

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/onelogin/saml2/xml_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class OneLogin_Saml2_XML(object):
2727
_unparse_etree = staticmethod(etree.tostring)
2828

2929
dump = staticmethod(etree.dump)
30-
make_root = etree.Element
31-
make_child = etree.SubElement
32-
cleanup_namespaces = etree.cleanup_namespaces
30+
make_root = staticmethod(etree.Element)
31+
make_child = staticmethod(etree.SubElement)
32+
cleanup_namespaces = staticmethod(etree.cleanup_namespaces)
3333

3434
@staticmethod
3535
def to_string(xml, **kwargs):

0 commit comments

Comments
 (0)