mirror of https://github.com/zulip/zulip.git
bugdown: Replace deprecated cElementTree with ElementTree.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
aad0b8b2da
commit
01ccb75259
|
@ -19,8 +19,8 @@ from io import StringIO
|
|||
import dateutil.parser
|
||||
import dateutil.tz
|
||||
from datetime import datetime
|
||||
import xml.etree.cElementTree as etree
|
||||
from xml.etree.cElementTree import Element
|
||||
import xml.etree.ElementTree as etree
|
||||
from xml.etree.ElementTree import Element
|
||||
import ahocorasick
|
||||
from hyperlink import parse
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from markdown.extensions import Extension
|
||||
from typing import Any, Dict, Optional, List, Tuple
|
||||
import markdown
|
||||
from xml.etree.cElementTree import Element
|
||||
from xml.etree.ElementTree import Element
|
||||
|
||||
from zerver.lib.bugdown import walk_tree_with_family, ResultWithFamily
|
||||
|
||||
|
|
Loading…
Reference in New Issue