Skip to content

Commit

Permalink
fix: turn more info message into debug
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Jul 19, 2024
1 parent 1a03dd8 commit 3dffceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion robotoff/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def __len__(self):

@classmethod
def load_from_path(cls, path: Path, projection: Optional[list[str]] = None):
logger.debug("Loading product store")
logger.info("Loading product store")

if projection is not None and "code" not in projection:
raise ValueError("at least `code` must be in projection")
Expand Down
2 changes: 1 addition & 1 deletion robotoff/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_taxonomy_mapping(taxonomy_type: str) -> dict[str, str]:
languages (such as `fr:bio-europeen` or `es:"ecologico-ue`) to their
canonical value (`en:organic` for the previous example).
"""
logger.info("Loading taxonomy mapping %s...", taxonomy_type)
logger.debug("Loading taxonomy mapping %s...", taxonomy_type)
taxonomy = get_taxonomy(taxonomy_type)
ids: dict[str, str] = {}

Expand Down

0 comments on commit 3dffceb

Please sign in to comment.