Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling of 'fallback_to_build_date' in logs #26

Merged
merged 1 commit into from
Apr 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mkdocs_git_revision_date_localized_plugin/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ def get_revision_date_for_file(
logging.warning(
"Unable to read git logs of '%s'."
" Is git log readable?"
" Option 'ignoring_missing_git' enabled: so keep building..." % path
" Option 'fallback_to_build_date' enabled: so keep building..." % path
)
else:
logging.error(
"Unable to read git logs of '%s'. "
"To ignore this error, set option 'ignoring_missing_git: true'"
"To ignore this error, set option 'fallback_to_build_date: true'"
% path
)
raise err
Expand All @@ -105,12 +105,12 @@ def get_revision_date_for_file(
unix_timestamp = None
logging.warning(
"Unable to perform command: git log. Is git installed?"
" Option 'ignoring_missing_git' enabled: so keep building..."
" Option 'fallback_to_build_date' enabled: so keep building..."
)
else:
logging.error(
"Unable to perform command: git log. Is git installed?"
"To ignore this error, set option 'ignoring_missing_git: true'"
"To ignore this error, set option 'fallback_to_build_date: true'"
)
raise err

Expand Down