log.warn is depreciated

Bug #1336036 reported by Phill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Low
Phill

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.

Related branches

Phill (phill-ridout)
Changed in openlp:
importance: Undecided → Low
milestone: none → 2.1.1
Phill (phill-ridout)
Changed in openlp:
assignee: nobody → Phill (phill-ridout)
Phill (phill-ridout)
Changed in openlp:
status: New → In Progress
Tim Bentley (trb143)
Changed in openlp:
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.