summaryrefslogtreecommitdiff
path: root/suds/umx/encoded.py
diff options
context:
space:
mode:
Diffstat (limited to 'suds/umx/encoded.py')
-rw-r--r--suds/umx/encoded.py8
1 files changed, 6 insertions, 2 deletions
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):