summaryrefslogtreecommitdiff
path: root/python_modules
diff options
context:
space:
mode:
Diffstat (limited to 'python_modules')
-rw-r--r--python_modules/demarshal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/demarshal.py b/python_modules/demarshal.py
index d3147b7..6d8dbdd 100644
--- a/python_modules/demarshal.py
+++ b/python_modules/demarshal.py
@@ -804,7 +804,7 @@ def write_array_parser(writer, member, nelements, array, dest, scope):
element_type = array.element_type
if member:
array_start = dest.get_ref(member.name)
- at_end = member.has_attr("end")
+ at_end = member.has_end_attr()
else:
array_start = "end"
at_end = True