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

Update cronvar.py (#19227)

This commit is contained in:
Michael Kwardakov 2017-01-12 02:56:34 +03:00 committed by ansibot
parent 6221327b13
commit 0183a148c5

View file

@ -135,8 +135,6 @@ class CronVar(object):
def __init__(self, module, user=None, cron_file=None): def __init__(self, module, user=None, cron_file=None):
self.module = module self.module = module
self.user = user self.user = user
if self.user is None:
self.user = 'root'
self.lines = None self.lines = None
self.wordchars = ''.join(chr(x) for x in range(128) if chr(x) not in ('=', "'", '"', )) self.wordchars = ''.join(chr(x) for x in range(128) if chr(x) not in ('=', "'", '"', ))