Removed spurious line

This commit is contained in:
Roland Hedberg
2013-01-05 20:29:49 +01:00
parent 83d04f9fe9
commit 25df4d38fd

View File

@@ -147,6 +147,9 @@ def make_soap_enveloped_saml_thingy(thingy, header_parts=None):
envelope.append(body)
if isinstance(thingy, basestring):
# remove the first XML version/encoding line
_part = thingy.split("\n")
thingy = _part[1]
thingy = thingy.replace(PREFIX, "")
_child = ElementTree.Element('')
_child.tag = '{%s}FuddleMuddle' % DUMMY_NAMESPACE