Unrud 5 лет назад
Родитель
Сommit
0b3e4204a5

+ 1 - 1
radicale/app/__init__.py

@@ -33,9 +33,9 @@ import posixpath
 import pprint
 import random
 import time
+import xml.etree.ElementTree as ET
 import zlib
 from http import client
-from xml.etree import ElementTree as ET
 
 import defusedxml.ElementTree as DefusedET
 import pkg_resources

+ 1 - 1
radicale/app/delete.py

@@ -17,8 +17,8 @@
 # You should have received a copy of the GNU General Public License
 # along with Radicale.  If not, see <http://www.gnu.org/licenses/>.
 
+import xml.etree.ElementTree as ET
 from http import client
-from xml.etree import ElementTree as ET
 
 from radicale import app, httputils, storage, xmlutils
 

+ 1 - 1
radicale/app/propfind.py

@@ -21,8 +21,8 @@ import collections
 import itertools
 import posixpath
 import socket
+import xml.etree.ElementTree as ET
 from http import client
-from xml.etree import ElementTree as ET
 
 from radicale import app, httputils, pathutils, rights, storage, xmlutils
 from radicale.log import logger

+ 1 - 1
radicale/app/proppatch.py

@@ -19,8 +19,8 @@
 
 import contextlib
 import socket
+import xml.etree.ElementTree as ET
 from http import client
-from xml.etree import ElementTree as ET
 
 from radicale import app, httputils
 from radicale import item as radicale_item

+ 1 - 1
radicale/app/report.py

@@ -20,9 +20,9 @@
 import contextlib
 import posixpath
 import socket
+import xml.etree.ElementTree as ET
 from http import client
 from urllib.parse import unquote, urlparse
-from xml.etree import ElementTree as ET
 
 from radicale import app, httputils, pathutils, storage, xmlutils
 from radicale.item import filter as radicale_filter