Skip to content
Snippets Groups Projects
Commit db8d5dba authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Server: little simplification

parent d7eaad2f
No related branches found
No related tags found
No related merge requests found
......@@ -271,8 +271,7 @@ def get_depsgraph(manager_id, request_json):
cursor = tasks_coll.find(task_query)
depsgraph = list(cursor)
is_empty = len(depsgraph) == 0
if is_empty:
if len(depsgraph) == 0:
log.debug('Returning empty depsgraph')
if modified_since is not None:
return '', 304 # Not Modified
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment