From 02efc08392f1ee4a499e4aa6ba3b143476e7c660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 30 Jun 2014 11:02:43 +0200 Subject: [PATCH] remove unused return value from suds.xsd.sxbasic.Element.implany() --- suds/bindings/binding.py | 2 +- suds/xsd/sxbasic.py | 1 - 2 files changed, 1 insertion(+), 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"