Skip to content
Snippets Groups Projects
Verified Commit 8234d8da authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

tasks: Unify message format with other loaders

parent 37f4eb30
No related branches found
Tags v0.0.22
1 merge request!18loader.hg: Unify tasks' message format with other loaders
......@@ -9,7 +9,7 @@ from .loader import HgBundle20Loader, HgArchiveBundle20Loader
@shared_task(name=__name__ + '.LoadMercurial')
def load_hg(*, url, directory=None, visit_date=None):
def load_hg(url, directory=None, visit_date=None):
"""Mercurial repository loading
Import a mercurial tarball into swh.
......@@ -23,7 +23,7 @@ def load_hg(*, url, directory=None, visit_date=None):
@shared_task(name=__name__ + '.LoadArchiveMercurial')
def load_hg_from_archive(*, url, archive_path=None, visit_date=None):
def load_hg_from_archive(url, archive_path=None, visit_date=None):
"""Import a mercurial tarball into swh.
Args: see :func:`DepositLoader.load`.
......
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