Remove unreachable code from cron module (#25577)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-06-11 11:05:46 +05:30 committed by René Moser
parent 23eebb62e6
commit 301cbc1f5b

View file

@ -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 = []