Skip to content

Commit

Permalink
temp: use 'warning' instead of deprecatd 'warn'
Browse files Browse the repository at this point in the history
  • Loading branch information
ormsbee committed Sep 30, 2024
1 parent 397878b commit 59f7443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx_learning/apps/authoring/components/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def create_component_version_content(
warning when we do.
"""
if key.startswith('/'):
logger.warn(
logger.warning(
"Absolute paths are not supported: "
f"removed leading '/' from ComponentVersion {component_version_id} "
f"content key: {repr(key)} (content_id: {content_id})"
Expand Down

0 comments on commit 59f7443

Please sign in to comment.