def _load_mirteFile(d, m):
defs = d['<STR_LIT>'] if '<STR_LIT>' in d else {}<EOL>insts = d['<STR_LIT>'] if '<STR_LIT>' in d else {}<EOL>insts_to_skip = []<EOL>for k in insts:<EOL><INDENT>if k in m.insts:<EOL><INDENT>m.update_instance(k, dict(insts[k]))<EOL>insts_to_skip.append(k)<EOL><DEDENT><DEDENT>for k in insts_to_skip:<EOL><INDENT>del(insts[k])<EOL><DEDENT>it = sort_by_successors(<EOL>six.viewkeys(defs),<EOL>dual_cover(<EOL>six.viewkeys(defs),<EOL>restricted_cover(<EOL>six.viewkeys(defs),<EOL>depsOf_of_mirteFile_module_definition(defs)<EOL>)<EOL>)<EOL>)<EOL>for k in it:<EOL><INDENT>m.add_module_definition(<EOL>k,<EOL>module_definition_from_mirteFile_dict(m, defs[k])<EOL>)<EOL><DEDENT>it = sort_by_successors(<EOL>six.viewkeys(insts),<EOL>dual_cover(<EOL>six.viewkeys(insts),<EOL>restricted_cover(<EOL>six.viewkeys(insts),<EOL>depsOf_of_mirteFile_instance_definition(m, insts)<EOL>)<EOL>)<EOL>)<EOL>for k in it:<EOL><INDENT>settings = dict(insts[k])<EOL>del(settings['<STR_LIT>'])<EOL>m.create_instance(k, insts[k]['<STR_LIT>'], settings)<EOL><DEDENT>
Loads the dictionary from the mirteFile into <m>