[Git][reproducible-builds/diffoscope][master] remove deprecated method warn() for warning()
Chris Lamb
gitlab at salsa.debian.org
Wed Aug 5 09:54:04 UTC 2020
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
13c96540 by Frazer Clews at 2020-08-04T16:07:34+01:00
remove deprecated method warn() for warning()
- - - - -
1 changed file:
- diffoscope/config.py
Changes:
=====================================
diffoscope/config.py
=====================================
@@ -75,7 +75,7 @@ class Config:
vb = getattr(self, b)
if va < vb:
if isinstance(vb, defaultint):
- logger.warn(
+ logger.warning(
"%s (%s) < default value of %s (%s), setting latter to %s",
a,
va,
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/13c96540c28689b56fd07658e615bfc04d364601
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/13c96540c28689b56fd07658e615bfc04d364601
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200805/cfb6d30f/attachment.htm>
More information about the rb-commits
mailing list