From f8c4b246ae7938010003cb260da68c1cb97f02a3 Mon Sep 17 00:00:00 2001 From: Denis Orlikhin <qbikk@yandex.ru> Date: Thu, 8 Nov 2012 18:52:50 +0400 Subject: [PATCH] debian/*.cron.d and debian/cron.d files check --- chkcrontab_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chkcrontab_lib.py b/chkcrontab_lib.py index f8943e8..9eab90f 100755 --- a/chkcrontab_lib.py +++ b/chkcrontab_lib.py @@ -84,7 +84,7 @@ USER_WHITELIST = set(('postgres', 'buildbot', # The following extensions imply further postprocessing or that the slack # role was for a cron that allowed dots in cron scripts. FILE_RE_WHITELIST = [re.compile(x) for x in - ('\.in$', '\.cron$', '\.disabled$')] + (r'\.in$', r'\.cron$', r'\.disabled$', r'^(\S+\.)?cron\.d$')] class FSM(object): -- GitLab