diff --git a/swh/lister/bitbucket/lister.py b/swh/lister/bitbucket/lister.py --- a/swh/lister/bitbucket/lister.py +++ b/swh/lister/bitbucket/lister.py @@ -11,7 +11,7 @@ class BitBucketLister(SWHIndexingHttpLister): PATH_TEMPLATE = '/repositories?after=%s' MODEL = BitBucketModel - LISTER_NAME = 'bitbucket.com' + LISTER_NAME = 'bitbucket' def get_model_from_repo(self, repo): return { diff --git a/swh/lister/github/lister.py b/swh/lister/github/lister.py --- a/swh/lister/github/lister.py +++ b/swh/lister/github/lister.py @@ -13,7 +13,7 @@ PATH_TEMPLATE = '/repositories?since=%d' MODEL = GitHubModel API_URL_INDEX_RE = re.compile(r'^.*/repositories\?since=(\d+)') - LISTER_NAME = 'github.com' + LISTER_NAME = 'github' def get_model_from_repo(self, repo): return {