summaryrefslogtreecommitdiff
path: root/addons/mail/models/html2text.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/models/html2text.py')
-rwxr-xr-xaddons/mail/models/html2text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/html2text.py b/addons/mail/models/html2text.py
index 8830cb0266d..fa2a8507af9 100755
--- a/addons/mail/models/html2text.py
+++ b/addons/mail/models/html2text.py
@@ -13,7 +13,7 @@ __contributors__ = ["Martin 'Joey' Schulze", "Ricardo Reyes", "Kevin Jay North"]
# Support decoded entities with unifiable.
import re, sys, htmlentitydefs, codecs
-import sgmllib
+import sgmllib # pylint: disable=deprecated-module
sgmllib.charref = re.compile('&#([xX]?[0-9a-fA-F]+)[^0-9a-fA-F]')
try: from textwrap import wrap