diff --git a/swh/indexer/metadata.py b/swh/indexer/metadata.py --- a/swh/indexer/metadata.py +++ b/swh/indexer/metadata.py @@ -35,19 +35,6 @@ self.config['tools'] = tool super().__init__() - def prepare(self): - self.results = [] - if self.config[INDEXER_CFG_KEY]: - self.idx_storage = self.config[INDEXER_CFG_KEY] - if self.config['objstorage']: - self.objstorage = self.config['objstorage'] - _log = logging.getLogger('requests.packages.urllib3.connectionpool') - _log.setLevel(logging.WARN) - self.log = logging.getLogger('swh.indexer') - self.tools = self.register_tools(self.config['tools']) - # NOTE: only one tool so far, change when no longer true - self.tool = self.tools[0] - def filter(self, ids): """Filter out known sha1s and return only missing ones. """