Skip to content

Commit

Permalink
Fixed DeprecationWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Oct 18, 2023
1 parent 84d2f9e commit 82c3444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ def getEncodingInfo(response=None, text='', log=None, url=None): # noqa: C901
and encinfo.http_encoding != encinfo.xml_encoding
):
encinfo.mismatch = True
log.warn(
log.warning(
'"%s" (HTTP) != "%s" (XML) encoding mismatch'
% (encinfo.http_encoding, encinfo.xml_encoding)
)
Expand Down

0 comments on commit 82c3444

Please sign in to comment.