summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJurko Gospodnetić <jurko.gospodnetic@pke.hr>2014-06-30 09:02:43 (GMT)
committerJurko Gospodnetić <jurko.gospodnetic@pke.hr>2014-06-30 09:02:43 (GMT)
commit02efc08392f1ee4a499e4aa6ba3b143476e7c660 (patch)
tree5eba44a2142a559b36c698b905999496b6f6a184
parent2fce798f012f6cff89e3cfb34ec2ae193ff1a022 (diff)
downloadsuds-jurko-02efc08392f1ee4a499e4aa6ba3b143476e7c660.zip
suds-jurko-02efc08392f1ee4a499e4aa6ba3b143476e7c660.tar.gz
suds-jurko-02efc08392f1ee4a499e4aa6ba3b143476e7c660.tar.bz2
remove unused return value from suds.xsd.sxbasic.Element.implany()
-rw-r--r--suds/bindings/binding.py2
-rw-r--r--suds/xsd/sxbasic.py1
2 files changed, 1 insertions, 2 deletions
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"