mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
[stable-5] Fix pylint errors (#5938)
Fix pylint errors (#5933)
* Fix pylint errors.
* Also adjust to https://github.com/ansible/ansible/pull/79909.
(cherry picked from commit b1d9507cd2
)
This commit is contained in:
parent
a467da2f39
commit
6932a937c5
8 changed files with 10 additions and 7 deletions
|
@ -356,6 +356,7 @@ class NosystemdTimezone(Timezone):
|
|||
def __init__(self, module):
|
||||
super(NosystemdTimezone, self).__init__(module)
|
||||
# Validate given timezone
|
||||
planned_tz = ''
|
||||
if 'name' in self.value:
|
||||
tzfile = self._verify_timezone()
|
||||
planned_tz = self.value['name']['planned']
|
||||
|
|
|
@ -169,8 +169,8 @@ from ansible_collections.community.general.plugins.module_utils.xfconf import xf
|
|||
|
||||
|
||||
class XFConfProperty(StateModuleHelper):
|
||||
change_params = 'value',
|
||||
diff_params = 'value',
|
||||
change_params = ('value', )
|
||||
diff_params = ('value', )
|
||||
output_params = ('property', 'channel', 'value')
|
||||
facts_params = ('property', 'channel', 'value')
|
||||
module = dict(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue