cElementTree has been deprecated since Python 3.3 and removed in Python 3.9.

parent 1f014b6b
......@@ -3,7 +3,7 @@ Global commands which are to be linked to the Core class
"""
import asyncio
from xml.etree import cElementTree as ET
from xml.etree import ElementTree as ET
from typing import List, Optional, Tuple
import logging
......
......@@ -16,7 +16,7 @@ import time
import uuid
from collections import defaultdict
from typing import Callable, Dict, List, Optional, Set, Tuple, Type
from xml.etree import cElementTree as ET
from xml.etree import ElementTree as ET
from functools import partial
from slixmpp import JID, InvalidJID
......
......@@ -10,7 +10,7 @@ Add some facilities that are not available on the XEP_0045
slix plugin
"""
from xml.etree import cElementTree as ET
from xml.etree import ElementTree as ET
from poezio.common import safeJID
from slixmpp import JID
......
......@@ -20,7 +20,7 @@ import asyncio
import time
from math import ceil, log10
from datetime import datetime
from xml.etree import cElementTree as ET
from xml.etree import ElementTree as ET
from typing import (
Any,
Callable,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment