comps-wrapper: Fix uservisible not being modifiable

The group uservisible attribute can now be modified in variants XML.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2017-04-12 12:56:11 +02:00
parent 20005adb98
commit daf3628594

View File

@ -283,7 +283,7 @@ class CompsWrapper(object):
if group_dict["default"] is not None: if group_dict["default"] is not None:
group_obj.default = group_dict["default"] group_obj.default = group_dict["default"]
if group_dict["uservisible"] is not None: if group_dict["uservisible"] is not None:
group_obj.uservisible = group_dict["uservisible"] group_obj.user_visible = group_dict["uservisible"]
def _tweak_env(self, env_obj, env_dict): def _tweak_env(self, env_obj, env_dict):
if env_dict["display_order"] is not None: if env_dict["display_order"] is not None: