openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #24767
[Bug 1336036] Re: log.warn is depreciated
** Changed in: openlp
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1336036
Title:
log.warn is depreciated
Status in OpenLP - Worship Presentation Software:
Fix Released
Bug description:
log.warn is depreciated we should use log.warning
From: https://docs.python.org/3.4/library/logging.html#logging.warning
Logger.warning(msg, *args, **kwargs)
Logs a message with level WARNING on this logger. The arguments are interpreted as for debug().
Note There is an obsolete method warn which is functionally identical
to warning. As warn is deprecated, please do not use it - use warning
instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1336036/+subscriptions
References