timezone: Fix TypeError

closes #3337
pull/18777/head
Shinichi TAMURA 8 years ago committed by Matt Clay
parent 75563d5325
commit 335a28443d

@ -310,8 +310,8 @@ class NosystemdTimezone(Timezone):
# Debian/Ubuntu
self.update_timezone = self.module.get_bin_path('dpkg-reconfigure', required=True)
self.update_timezone += ' --frontend noninteractive tzdata'
self.conf_files['name'] = '/etc/timezone',
self.conf_files['hwclock'] = '/etc/default/rcS',
self.conf_files['name'] = '/etc/timezone'
self.conf_files['hwclock'] = '/etc/default/rcS'
self.regexps['name'] = re.compile(r'^([^\s]+)', re.MULTILINE)
self.tzline_format = '%s\n'
else:

Loading…
Cancel
Save