xfconf - using aggregated base class (#3919)

* xfconf - using aggregated base class

* added changelog fragment

* fixed typo
This commit is contained in:
Alexei Znamensky
2021-12-20 02:17:17 +13:00
committed by GitHub
parent 8da2c630d8
commit daabb53a2b
2 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- xfconf - minor refactor on the base class for the module (https://github.com/ansible-collections/community.general/pull/3919).

View File

@@ -128,7 +128,7 @@ RETURN = '''
'''
from ansible_collections.community.general.plugins.module_utils.module_helper import (
ModuleHelper, CmdMixin, StateMixin, ArgFormat, ModuleHelperException
CmdStateModuleHelper, ArgFormat, ModuleHelperException
)
@@ -151,7 +151,7 @@ class XFConfException(Exception):
pass
class XFConfProperty(CmdMixin, StateMixin, ModuleHelper):
class XFConfProperty(CmdStateModuleHelper):
change_params = 'value',
diff_params = 'value',
output_params = ('property', 'channel', 'value')