Page MenuHomeSoftware Heritage

D3581.id.diff
No OneTemporary

D3581.id.diff

diff --git a/requirements-swh.txt b/requirements-swh.txt
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -1,2 +1,2 @@
swh.core[db,http] >= 0.0.65
-swh.storage >= 0.0.182
+swh.storage >= 0.11.1
diff --git a/swh/scheduler/cli/task.py b/swh/scheduler/cli/task.py
--- a/swh/scheduler/cli/task.py
+++ b/swh/scheduler/cli/task.py
@@ -346,7 +346,7 @@
raise click.ClickException("Only keywords arguments are allowed.")
origins = iter_origins(storage, origin_from=min_id, origin_to=max_id)
- origin_urls = (origin["url"] for origin in origins)
+ origin_urls = (origin.url for origin in origins)
schedule_origin_batches(scheduler, type, origin_urls, origin_batch_size, kw)

File Metadata

Mime Type
text/plain
Expires
Nov 5 2024, 5:21 AM (8 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224385

Event Timeline