Skip to content

Commit 4f6637a

Browse files
committed
Fix logger.warn is deprecated
1 parent df64756 commit 4f6637a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datajoint/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def set_password(new_password=None, connection=None, update_config=None):
1515
new_password = getpass("New password: ")
1616
confirm_password = getpass("Confirm password: ")
1717
if new_password != confirm_password:
18-
logger.warn("Failed to confirm the password! Aborting password change.")
18+
logger.warning("Failed to confirm the password! Aborting password change.")
1919
return
2020

2121
if version.parse(

0 commit comments

Comments
 (0)