You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 07:41:16 +03:00
Fix pylint errors (#5933)
* Fix pylint errors. * Also adjust to https://github.com/ansible/ansible/pull/79909.
This commit is contained in:
@ -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']
|
||||
|
Reference in New Issue
Block a user