Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Commit

Permalink
Don't add prefix (None) to the prefixes dict.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.fedorahosted.org/svn/suds/trunk@710 0b8c961e-115e-4cb0-8d11-a7d6dae58e8c
  • Loading branch information
jortel committed Aug 12, 2011
1 parent 8c908e0 commit fd08ccd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion suds/mx/literal.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def node(self, content):
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)
Expand Down

0 comments on commit fd08ccd

Please sign in to comment.