summaryrefslogtreecommitdiff
path: root/bs4/dammit.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2016-07-17 15:14:34 -0400
committerLeonard Richardson <leonardr@segfault.org>2016-07-17 15:14:34 -0400
commit8ffca2780147d03908210d8869b3c86a46906652 (patch)
tree51b5bfc8aa3a63ccdeeb3402a4845a46da98b0ed /bs4/dammit.py
parent49f78aa54c1cbdd7091ecd930ae2d327fb736aea (diff)
Use a dedicated logger instead of the root logger. [bug=1511661]
Diffstat (limited to 'bs4/dammit.py')
-rw-r--r--bs4/dammit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/dammit.py b/bs4/dammit.py
index cec0809..2bf67f7 100644
--- a/bs4/dammit.py
+++ b/bs4/dammit.py
@@ -377,7 +377,7 @@ class UnicodeDammit:
if encoding != "ascii":
u = self._convert_from(encoding, "replace")
if u is not None:
- self.log.warn(
+ self.log.warning(
"Some characters could not be decoded, and were "
"replaced with REPLACEMENT CHARACTER."
)