1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

xfconf - using aggregated base class (#3919) (#3920)

* xfconf - using aggregated base class

* added changelog fragment

* fixed typo

(cherry picked from commit daabb53a2b)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2021-12-20 10:15:24 +01:00 committed by GitHub
parent 9b6e75f7f4
commit 6c53a09eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 ( 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 pass
class XFConfProperty(CmdMixin, StateMixin, ModuleHelper): class XFConfProperty(CmdStateModuleHelper):
change_params = 'value', change_params = 'value',
diff_params = 'value', diff_params = 'value',
output_params = ('property', 'channel', 'value') output_params = ('property', 'channel', 'value')