1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Fixed polkit_applier_user module experimental check

This commit is contained in:
Игорь Чудов 2020-06-30 20:17:31 +04:00
parent 3b258a5b71
commit a36fe32e05
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -90,7 +90,11 @@ class polkit_applier_user(applier_frontend):
logging.debug(slogm('Deny_All setting not found'))
self.policies = []
self.policies.append(polkit(template_file, template_vars, self.username))
self.__module_enabled = check_enabled(self.storage, self.__module_name, self.__module_enabled)
self.__module_enabled = check_enabled(
self.storage
, self.__module_name
, self.__module_experimental
)
def user_context_apply(self):
pass