提交 c3dedfc4 编写于 作者: L Lukáš Doktor

avocado.multiplexer: Use dict instead of OrderedDict for envs

This one was left out of the previous patch. OrderedDicts are not
needed for environment. Only order of children is important.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 74e55c69
...@@ -79,7 +79,7 @@ class Multiplexer(plugin.Plugin): ...@@ -79,7 +79,7 @@ class Multiplexer(plugin.Plugin):
view.notify(event='minor', msg='Variant %s: %s' % view.notify(event='minor', msg='Variant %s: %s' %
(index + 1, paths)) (index + 1, paths))
if args.contents: if args.contents:
env = collections.OrderedDict() env = {}
for node in tpl: for node in tpl:
env.update(node.environment) env.update(node.environment)
for k in sorted(env.keys()): for k in sorted(env.keys()):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册