← Back to team overview

openlp-core team mailing list archive

[Bug 1336036] Re: log.warn is depreciated

 

** Changed in: openlp
     Assignee: (unassigned) => Phill (phill-ridout)

-- 
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:
  New

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