| Index: mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl b/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
|
| index d5bff304836aec1b0708ab6752a9a35e28a1f2c2..86ecf93104185592f4344ab9c2a5666db886ce74 100644
|
| --- a/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
|
| +++ b/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
|
| @@ -46,9 +46,9 @@
|
| {% if struct.fields %}
|
| 'fields': [
|
| {% for byte in struct.bytes %}
|
| -{% if byte.packed_fields %}
|
| - {{byte|field_group}},
|
| -{% endif %}
|
| +{% for packed_field in byte.packed_fields %}
|
| + {{packed_field|field_descriptor}},
|
| +{% endfor %}
|
| {% endfor %}
|
| ],
|
| {% endif %}
|
|
|