From f9d37ebad6eb1c368d7876b49e37b89d79c22829 Mon Sep 17 00:00:00 2001 From: Julien Iguchi-Cartigny Date: Sat, 5 Jul 2014 22:09:32 +0200 Subject: [PATCH] pep8 and 2to3 for UserType.py and __init__.py --- wstools/UserTuple.py | 1 + wstools/__init__.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wstools/UserTuple.py b/wstools/UserTuple.py index 02981d0..5851d7a 100644 --- a/wstools/UserTuple.py +++ b/wstools/UserTuple.py @@ -48,6 +48,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # __reduce__, __setattr__, __str__ # What about these? class UserTuple: + def __init__(self, inittuple=None): self.data = () if inittuple is not None: diff --git a/wstools/__init__.py b/wstools/__init__.py index 43417af..6e53c28 100644 --- a/wstools/__init__.py +++ b/wstools/__init__.py @@ -3,6 +3,5 @@ ident = "$Id$" -import WSDLTools -import XMLname -import logging +from . import WSDLTools +from . import XMLname