Commit b35e50ae authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f86fba79
...@@ -141,10 +141,10 @@ ...@@ -141,10 +141,10 @@
{#- bug indicates an error in template logic. {#- bug indicates an error in template logic.
it should not happen. #} it should not happen. #}
{%- macro bug(msg) %} {%- macro bug(msg) %}
{%- do assert(False, msg) %} {%- do assert(False, msg) %}
{%- endmacro %} {%- endmacro %}
{#- ierror reports an error about shared instance. #} {#- ierror reports an error about shared instance. #}
{#- XXX ierror(ishared, msg) vvv is debug stub -#} {#- XXX ierror(ishared, msg) vvv is debug stub -#}
...@@ -164,16 +164,16 @@ ...@@ -164,16 +164,16 @@
{#- XXX add protection wrt duplicate slave_title -- see jref_of_shared for details #} {#- XXX add protection wrt duplicate slave_title -- see jref_of_shared for details #}
{#- check_loaded_everything verifies that all shared instances were handling during the load. #} {#- check_loaded_everything verifies that all shared instances were handling during the load. #}
{%- macro check_loaded_everything() %} {%- macro check_loaded_everything() %}
{%- for ishared in qshared_instance_list %} {%- for ishared in qshared_instance_list %}
{%- do ierror(ishared, "shared instance of unsupported type") %} {%- do ierror(ishared, "shared instance of unsupported type") %}
{%- endfor %} {%- endfor %}
{%- endmacro %} {%- endmacro %}
{#- json-decode _ in all shared instances #} {#- json-decode _ in all shared instances #}
{%- for ishared in qshared_instance_list %} {%- for ishared in qshared_instance_list %}
{%- do ishared.update({'_': J(ishared['_'])}) %} {%- do ishared.update({'_': J(ishared['_'])}) %}
{%- endfor %} {%- endfor %}
{#- load_iru_and_icell initializes RU and cell registries. {#- load_iru_and_icell initializes RU and cell registries.
......
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