Skip to content

Commit

Permalink
templates: fix broken macro argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngnpope committed Apr 19, 2017
1 parent 19254e1 commit 2ef18c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soapfish/templates/lib
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class {{ attrGroup.name|capitalize }}(xsd.AttributeGroup):
{# [blank line] #}
{%- endmacro %}

{% macro render_xsd_Group(element, known_types=None) -%}
{% macro render_xsd_Group(group, known_types=None) -%}
class {{ group.name|capitalize }}(xsd.Group):
{%- for element in group.sequence.elements %}
{%- set name = element.ref|remove_namespace if element.ref else element.name %}
Expand Down

0 comments on commit 2ef18c8

Please sign in to comment.