Skip to content

Commit

Permalink
fix: remove errant logging constant
Browse files Browse the repository at this point in the history
  • Loading branch information
elliot-100 committed Jul 13, 2024
1 parent 34c89ff commit 18da7a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Historic and pre-release versions aren't necessarily included.

### Fixed

- Removed unintended public logging constant
- Tests: warnings because Beautiful Soup parser wasn't specified
- Tests didn't use public API for imports

Expand Down
3 changes: 1 addition & 2 deletions britishcycling_clubs/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

_MANAGER_VIA_LOGIN_BASE_URL = "https://www.britishcycling.org.uk/uac/connect?success_url=/dashboard/club/membership?club_id="

log = logging.getLogger(__name__)


class MemberCounts(TypedDict):
"""Return type for `get_manager_member_counts()`."""
Expand Down Expand Up @@ -152,4 +150,5 @@ def _log_info(message: str, start_time: float) -> None:
"""Add INFO level log entry, with elapsed time since `start_time`."""
elapsed_time = time.time() - start_time
log_message = f"Elapsed: {elapsed_time:.1f} s. {message}"
log = logging.getLogger(__name__)
log.info(log_message)

0 comments on commit 18da7a1

Please sign in to comment.