Skip to content

Commit 2939b21

Browse files
author
dnichol
committed
Added warning that default behaviour has changed
1 parent 51b1db6 commit 2939b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/delete_older_versions_system_wide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
projects = hub.get_projects(limit=9999).get('items', [])
5555

56-
logging.warn(f"The default behaviour of this script has changed. Previously it would not delete mapped code locations while deleting a project version and would rely on these being cleaned up by the system at a later date.")
56+
logging.warning(f"The default behaviour of this script has changed. Previously it would not delete mapped code locations while deleting a project version and would rely on these being cleaned up by the system at a later date.")
5757
logging.info(f"If you wish to keep the previous behaviour please pass the -ncl or --do_not_delete_code_locations parameter.")
5858

5959
for project in projects:

0 commit comments

Comments
 (0)