Commits

jortel  committed 50f1a9a

Don't add prefix (None) to the prefixes dict.

  • Participants
  • Parent commits 6314f9b

Comments (0)

Files changed (1)

File suds/mx/literal.py

         ns = content.type.namespace()
         if content.type.form_qualified:
             node = Element(content.tag, ns=ns)
-            node.addPrefix(ns[0], ns[1])
+            if ns[0]:
+                node.addPrefix(ns[0], ns[1])
         else:
             node = Element(content.tag)
         self.encode(node, content)