summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2009-12-02 21:13:30 +0000
committerjortel <devnull@localhost>2009-12-02 21:13:30 +0000
commitb4c57963161c02297d47e7a2e4e35bae125e652c (patch)
tree212cc96308aef0493b12572239753719873df0f5
parent0ca11780c15ce02d66405c5e1b535b2d9257b09d (diff)
downloadsuds-b4c57963161c02297d47e7a2e4e35bae125e652c.tar.gz
Add handling for (2) dimensional arrays (array of arrays) in Encoded unmarshaller for ticket #278.
-rw-r--r--suds/__init__.py2
-rw-r--r--suds/umx/encoded.py8
2 files changed, 7 insertions, 3 deletions
diff --git a/suds/__init__.py b/suds/__init__.py
index 240c038..152ce45 100644
--- a/suds/__init__.py
+++ b/suds/__init__.py
@@ -29,7 +29,7 @@ import sys
#
__version__ = '0.3.8'
-__build__="(beta) R614-20091202"
+__build__="(beta) R615-20091202"
#
# Exceptions
diff --git a/suds/umx/encoded.py b/suds/umx/encoded.py
index 1cc8bc7..49b262f 100644
--- a/suds/umx/encoded.py
+++ b/suds/umx/encoded.py
@@ -80,8 +80,12 @@ class Encoded(Typed):
aty = content.node.get(name, ns)
if aty is not None:
content.aty = aty
- ref = aty.split('[')[0]
- self.applyaty(content, ref)
+ parts = aty.split('[')
+ ref = parts[0]
+ if len(parts) == 2:
+ self.applyaty(content, ref)
+ else:
+ pass # (2) dimensional array
return self
def applyaty(self, content, xty):