From dac7777cd6630a4b39eeb884b09badfcd732312d Mon Sep 17 00:00:00 2001 From: Antoine Lambert Date: Wed, 10 Apr 2019 14:52:08 +0200 Subject: [PATCH] listers: Align config filename with production --- swh/lister/core/lister_base.py | 2 +- swh/lister/npm/lister.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/swh/lister/core/lister_base.py b/swh/lister/core/lister_base.py index b09fe13..24d6c4a 100644 --- a/swh/lister/core/lister_base.py +++ b/swh/lister/core/lister_base.py @@ -234,7 +234,7 @@ class SWHListerBase(abc.ABC, config.SWHConfig): @property def CONFIG_BASE_FILENAME(self): # noqa: N802 - return 'lister-%s' % self.LISTER_NAME + return 'lister_%s' % self.LISTER_NAME @property def ADDITIONAL_CONFIG(self): # noqa: N802 diff --git a/swh/lister/npm/lister.py b/swh/lister/npm/lister.py index a058411..bdd2d4a 100644 --- a/swh/lister/npm/lister.py +++ b/swh/lister/npm/lister.py @@ -117,7 +117,7 @@ class NpmIncrementalLister(NpmListerBase): @property def CONFIG_BASE_FILENAME(self): # noqa: N802 - return 'lister-npm-incremental' + return 'lister_npm_incremental' def get_next_target_from_response(self, response): """(Override) Get next npm package name to continue the listing