Skip to content
Snippets Groups Projects
Commit 26962973 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

style: remove useless temporary variable

parent 823f112f
No related branches found
No related tags found
No related merge requests found
Pipeline #1844 passed
......@@ -975,12 +975,11 @@ class Schedule(models.Model):
# If 'dryrun' is true, just return the projected changes instead of executing them
if "dryrun" in sdl and sdl["dryrun"]:
output = {
return {
"create": [model_to_dict(ts) for ts in create],
"update": [model_to_dict(ts) for ts in update],
"delete": [model_to_dict(ts) for ts in delete],
}
return output
"""Database changes if no errors found"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment