Page MenuHomeSoftware Heritage

D8524.id30703.diff
No OneTemporary

D8524.id30703.diff

diff --git a/swh/scheduler/backend.py b/swh/scheduler/backend.py
--- a/swh/scheduler/backend.py
+++ b/swh/scheduler/backend.py
@@ -173,6 +173,9 @@
where id in %s
"""
+ if not lister_ids:
+ return []
+
cur.execute(query, (tuple(lister_ids),))
return [Lister(**row) for row in cur]

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 11:53 AM (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219927

Event Timeline