Commit 38635833 authored by Christophe Benz's avatar Christophe Benz
Browse files

Harmonize log messages

parent c998c254
......@@ -184,7 +184,7 @@ class GitWalker:
if provider_json is not None:
self._git_importer.import_provider(provider_json, category_tree_json)
else:
logger.error("provider.json was not found, skipping its import")
logger.error("provider.json was not found, skipping importing it")
# Walk and import trees (sub-directories)
def iter_dataset_trees():
......@@ -239,7 +239,7 @@ class GitWalker:
logger.info("Importing dataset JSON from blob %r", dataset_json_blob)
self._git_importer.import_dataset(dataset_json)
else:
logger.debug("Skipping importing dataset JSON because it did not change since previous commit")
logger.debug("%r did not change since previous commit, skipping importing it", DATASET_JSON)
if dataset_tree_change.series:
logger.info("Importing series")
......@@ -247,7 +247,7 @@ class GitWalker:
dataset_code, self._iter_series_json(dataset_tree, dataset_json_series)
)
else:
logger.debug("Skipping importing series because they did not change since previous commit")
logger.debug("Series did not change since previous commit, skipping importing them")
def _iter_series_json(self, dataset_tree: Tree, dataset_json_series: Optional[List[dict]]):
"""Yield series JSON dicts.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment