diff --git a/swh/lister/core/lister_base.py b/swh/lister/core/lister_base.py index f0089a93c51b32c3845f60f3995ce701f58b3e91..b215810f3d0f4a962fe4e8c1e1764e41108eacb4 100644 --- a/swh/lister/core/lister_base.py +++ b/swh/lister/core/lister_base.py @@ -414,7 +414,7 @@ class SWHListerBase(abc.ABC, config.SWHConfig): Returns: the same information in a different form """ - _type = 'origin-update-%s' % origin_type + _type = 'load-%s' % origin_type _policy = 'recurring' return utils.create_task_dict(_type, _policy, origin_url) diff --git a/swh/lister/pypi/lister.py b/swh/lister/pypi/lister.py index caa8089d85219407733afdefc8381fc5339cfc88..a488850d18f248d0285a7b3a23639660b4a9442a 100644 --- a/swh/lister/pypi/lister.py +++ b/swh/lister/pypi/lister.py @@ -28,7 +28,7 @@ class PyPILister(ListerOnePageApiTransport, SimpleLister): needed for the ingestion task creation. """ - _type = 'origin-update-%s' % origin_type + _type = 'load-%s' % origin_type _policy = 'recurring' project_name = kwargs.get('name') project_metadata_url = kwargs.get('html_url')