Commits

Anonymous committed faf5b0f

Allow for soapenc array type without trailing [].

Comments (0)

Files changed (2)

 #
 
 __version__ = '0.4'
-__build__="GA R696-20100908"
+__build__="GA R697-20100908"
 
 #
 # Exceptions

suds/soaparray.py

         @type aty: The value of wsdl:arrayType.
         """
         SXAttribute.__init__(self, schema, root)
-        self.aty = aty[:-2]
+        if aty.endswith('[]'):
+            self.aty = aty[:-2]
+        else:
+            self.aty = aty
         
     def autoqualified(self):
         aqs = SXAttribute.autoqualified(self)