Skip to content

Commit 56d1f0e

Browse files
committed
warn() method is deprecated in logging library
1 parent d9e8892 commit 56d1f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gardenlinux/github/release_notes/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def download_all_metadata_files(version, commitish, s3_bucket_name):
9090
s3_artifacts, cname.cname, version, commitish_short, local_dest_path
9191
)
9292
except IndexError:
93-
LOGGER.warn(f"No artifacts found for flavor {cname.cname}, skipping...")
93+
LOGGER.warning(f"No artifacts found for flavor {cname.cname}, skipping...")
9494
continue
9595

9696
return [str(artifact) for artifact in local_dest_path.iterdir()]

0 commit comments

Comments
 (0)