Commit 31f336e6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9f179354
...@@ -187,9 +187,9 @@ ...@@ -187,9 +187,9 @@
{#- protect against duplicate slave_title -- see jref_of_shared for why we need this #} {#- protect against duplicate slave_title -- see jref_of_shared for why we need this #}
{%- for i, ishared in enumerate(qshared_instance_list) %} {%- for i, ishared in enumerate(qshared_instance_list) %}
{%- for j, jshared in enumerate(qshared_instance_list) %} {%- for k, kshared in enumerate(qshared_instance_list) %}
{%- if i != j and ishared.slave_title == jshared.slave_title %} {%- if i != k and ishared.slave_title == kshared.slave_title %}
{%- do ierror(ishared, 'duplicate title wrt %s' % jshared.slave_reference) %} {%- do ierror(ishared, 'duplicate title wrt %s' % kshared.slave_reference) %}
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment