diff --git a/suds/bindings/binding.py b/suds/bindings/binding.py index 5bafaec..28fdd81 100644 --- a/suds/bindings/binding.py +++ b/suds/bindings/binding.py @@ -497,7 +497,7 @@ class PartElement(SchemaElement): self.form_qualified = False def implany(self): - return self + pass def optional(self): return True diff --git a/suds/xsd/sxbasic.py b/suds/xsd/sxbasic.py index 66f4af5..e5ebb9a 100644 --- a/suds/xsd/sxbasic.py +++ b/suds/xsd/sxbasic.py @@ -399,7 +399,6 @@ class Element(TypedContent): """ if self.type is None and self.ref is None and self.root.isempty(): self.type = self.anytype() - return self def childtags(self): return "any", "attribute", "complexType", "simpleType"