Skip to content

Commit ca2bad9

Browse files
[REF] Odoo: lxml 5.2 compatibility
1 parent dca6b3b commit ca2bad9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

odoo/tools/mail.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
import idna
1717
import markupsafe
1818
from lxml import etree, html
19-
from lxml.html import clean, defs
19+
from lxml.html import defs
20+
from lxml_html_clean import clean
2021
from werkzeug import urls
2122

2223
import odoo

0 commit comments

Comments
 (0)