Staging instance, all changes can be removed at any time

Skip to content

revision metadata indexer: Fix multiple errors

This diffs fixes quite some initialization issues and other errors (variable initialization, logging format exception) in the revision metadata indexer.

Note for later. We need to simplify the initialization of the indexers. This has become far too tedious in its current state.

For this, I think we could:

  • remove the prepare() indirection
  • and use bare init (which is more pythonic and expected)
  • to override the configuration in tests, override the parse_config_file (coming from the SWHConfig instead of overriding prepare)

Test Plan

tox


Migrated from D712 (view on Phabricator)

Merge request reports

Loading