Skip to content

Commit

Permalink
chore: deleting logger.warn deprecation warning (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
uriii3 authored Jul 1, 2024
1 parent ffcd7fa commit 4681692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copernicusmarine/core_functions/services_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def _warning_dataset_will_be_deprecated(
dataset_version: CopernicusMarineDatasetVersion,
dataset_part: CopernicusMarineVersionPart,
):
logger.warn(
logger.warning(
f"""The dataset {dataset_id}"""
f"""{f", version '{dataset_version.label}'"
if dataset_version.label != 'default' else ''}"""
Expand All @@ -552,7 +552,7 @@ def _warning_dataset_not_yet_released(
dataset_version: CopernicusMarineDatasetVersion,
dataset_part: CopernicusMarineVersionPart,
):
logger.warn(
logger.warning(
f"""The dataset {dataset_id}"""
f"""{f", version '{dataset_version.label}'"
if dataset_version.label != 'default' else ''}"""
Expand Down

0 comments on commit 4681692

Please sign in to comment.