Browse Source

Fix for multi-dimensional arrays.

main
Ionut Turturica 14 years ago
committed by kiorky
parent
commit
16e2d537bd
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/SOAPpy/SOAPBuilder.py

+ 6
- 1
src/SOAPpy/SOAPBuilder.py View File

@@ -490,8 +490,13 @@ class SOAPBuilder:
else:
elemsname = tag
if isinstance(data, (list, tuple, arrayType)):
should_drill = True
else:
should_drill = not same_type
for i in data:
self.dump(i, elemsname, not same_type, ns_map)
self.dump(i, elemsname, should_drill, ns_map)

if typed: self.out.append('</%s>\n' % tag)



Loading…
Cancel
Save