Skip to content
Snippets Groups Projects
Commit f8c4b246 authored by Denis Orlikhin's avatar Denis Orlikhin
Browse files

debian/*.cron.d and debian/cron.d files check

parent e91e1215
Branches
Tags
No related merge requests found
...@@ -84,7 +84,7 @@ USER_WHITELIST = set(('postgres', 'buildbot', ...@@ -84,7 +84,7 @@ USER_WHITELIST = set(('postgres', 'buildbot',
# The following extensions imply further postprocessing or that the slack # The following extensions imply further postprocessing or that the slack
# role was for a cron that allowed dots in cron scripts. # role was for a cron that allowed dots in cron scripts.
FILE_RE_WHITELIST = [re.compile(x) for x in 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): class FSM(object):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment