Mercurial > p > roundup > code
diff roundup/rest.py @ 5799:7ba0ee980fc7
logger.warn is deprecated. Replace with logger.warning.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 11 Jun 2019 21:05:53 -0400 |
| parents | dd709ea29899 |
| children | bab86c874efb |
line wrap: on
line diff
--- a/roundup/rest.py Mon Jun 10 21:54:20 2019 -0400 +++ b/roundup/rest.py Tue Jun 11 21:05:53 2019 -0400 @@ -991,7 +991,7 @@ if user != self.db.getuid(): # Tell the roundup admin that there is an issue # as the key got compromised. - logger.warn( + logger.warning( 'Post Once key owned by user%s was denied. Used by user%s',user, self.db.getuid() ) # Should we indicate to user that the token is invalid
