diff --git a/lib/ansible/modules/system/cron.py b/lib/ansible/modules/system/cron.py index bdd4605acb7..36c85e56c5d 100644 --- a/lib/ansible/modules/system/cron.py +++ b/lib/ansible/modules/system/cron.py @@ -463,7 +463,6 @@ class CronTab(object): else: return "%s%s %s %s %s %s %s" % (disable_prefix,minute,hour,day,month,weekday,job) - return None def get_jobnames(self): jobnames = []