bugdown: Replace deprecated cElementTree with ElementTree.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-06-02 19:06:38 -07:00 committed by Tim Abbott
parent aad0b8b2da
commit 01ccb75259
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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