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

This commit is contained in:
Karthikeyan Singaravelan 2020-03-29 14:39:02 +00:00
parent 1f014b6bfb
commit 81e0ca6dca
4 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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