Skip to content

Commit 009ea65

Browse files
author
Josh Schindehette
authored
Added support for simple sequences in struct properties (#2)
1 parent b4d828f commit 009ea65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rest/helper.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ def __any_struct(corba_any):
207207
'value': []
208208
}
209209
for a in corba_any.value.value():
210-
ret['value'].append(PropertyHelper.__any_simple(a))
210+
if 'orb.create_sequence_tc' in str(a.value._t):
211+
ret['value'].append(PropertyHelper.__any_simple_seq(a))
212+
else:
213+
ret['value'].append(PropertyHelper.__any_simple(a))
211214
return ret
212215

213216
@staticmethod

0 commit comments

Comments
 (0)