Skip to content

Commit 2741c7d

Browse files
committed
logger.warn is deprecated. Replace with logger.warning.
1 parent 2f59e83 commit 2741c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ def post_once_exactly_collection(self, class_name, post_token, input):
991991
if user != self.db.getuid():
992992
# Tell the roundup admin that there is an issue
993993
# as the key got compromised.
994-
logger.warn(
994+
logger.warning(
995995
'Post Once key owned by user%s was denied. Used by user%s',user, self.db.getuid()
996996
)
997997
# Should we indicate to user that the token is invalid

0 commit comments

Comments
 (0)