Formatting fixes
This commit is contained in:
parent
92a746c515
commit
c43dcd36c4
1 changed files with 2 additions and 2 deletions
|
@ -153,8 +153,8 @@ def run_job(job_cls: Type[BaseAutomation], *,
|
|||
else:
|
||||
automation.state = AutomationState.ERROR
|
||||
safe_jobs = [
|
||||
"proxy_cloudfront", "static_aws", "list_http_post", "list_s3", "list_github", "list_gitlab"
|
||||
]
|
||||
"proxy_cloudfront", "static_aws", "list_http_post", "list_s3", "list_github", "list_gitlab"
|
||||
]
|
||||
if job.short_name not in safe_jobs:
|
||||
automation.enabled = False
|
||||
automation.next_run = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue