summaryrefslogtreecommitdiff
path: root/suds/mx/literal.py
diff options
context:
space:
mode:
Diffstat (limited to 'suds/mx/literal.py')
-rw-r--r--suds/mx/literal.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/suds/mx/literal.py b/suds/mx/literal.py
index b6c0c7e..937ad8e 100644
--- a/suds/mx/literal.py
+++ b/suds/mx/literal.py
@@ -143,10 +143,7 @@ class Typed(Core):
# by the schema (elementFormDefault).
#
ns = content.type.namespace()
- qualify = \
- ( content.type.form_qualified or
- content.type.element() == 1)
- if qualify:
+ if content.type.form_qualified:
node = Element(content.tag, ns=ns)
node.addPrefix(ns[0], ns[1])
else: