← Back to team overview

openlp-core team mailing list archive

[Bug 1336036] [NEW] log.warn is depreciated

 

Public bug reported:

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.

** Affects: openlp
     Importance: Low
         Status: New

** Changed in: openlp
   Importance: Undecided => Low

** Changed in: openlp
    Milestone: None => 2.1.1

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


Follow ups

References