Skip to content

Commit

Permalink
Print "cloning legend-metadata..." message as warning
Browse files Browse the repository at this point in the history
In this way it will be printed to the terminal by default.
  • Loading branch information
gipert committed Jul 2, 2024
1 parent fcd7427 commit 2c35d5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/legendmeta/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def _init_metadata_repo(self):
repo = Repo(self._repo_path)
except InvalidGitRepositoryError:
msg = f"Cloning [email protected]:legend-exp/legend-metadata in {self._repo_path}..."
log.info(msg)
# set logging level as warning (default logging level), so it's
# always printed and the user knows why it takes so long to initialize
log.warning(msg)

repo = Repo.clone_from(
"[email protected]:legend-exp/legend-metadata",
Expand Down

0 comments on commit 2c35d5a

Please sign in to comment.