未验证 提交 61747235 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'ldoktor/52-compat-varianter'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -326,6 +326,11 @@ class Varianter(object):
:param state: loadable Varianter representation
"""
# TODO: Remove when 52.0 is deprecated
# In 52.0 the "paths" was called "mux_path"
for variant in state:
if "mux_path" in variant and "paths" not in variant:
variant["paths"] = variant["mux_path"]
self.debug = False
self.node_class = tree.TreeNode
self._variant_plugins = FakeVariantDispatcher(state)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册