From 97479190e85cfad64e97679f088ee996ce93823c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dipl=2E=20Ing=2E=20P=C3=A9ter=20Varkoly?= Date: Sun, 22 Sep 2024 18:57:48 +0200 Subject: [PATCH] Adapt imports. --- radicale/storage/__init__.py | 5 ++--- radicale/storage/multifilesystem/discover.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/radicale/storage/__init__.py b/radicale/storage/__init__.py index f034b337..4e2e95dd 100644 --- a/radicale/storage/__init__.py +++ b/radicale/storage/__init__.py @@ -24,11 +24,10 @@ Take a look at the class ``BaseCollection`` if you want to implement your own. """ import json -from typing import Callable, ContextManager, Iterator, Optional, Set, cast import xml.etree.ElementTree as ET from hashlib import sha256 -from typing import (Iterable, Iterator, Mapping, Optional, Sequence, Set, - Tuple, Union, overload) +from typing import (Callable, ContextManager, Iterable, Iterator, Mapping, + Optional, Sequence, Set, Tuple, Union, cast, overload) import vobject diff --git a/radicale/storage/multifilesystem/discover.py b/radicale/storage/multifilesystem/discover.py index 97d31930..5cff9789 100644 --- a/radicale/storage/multifilesystem/discover.py +++ b/radicale/storage/multifilesystem/discover.py @@ -16,9 +16,9 @@ # You should have received a copy of the GNU General Public License # along with Radicale. If not, see . +import base64 import os import posixpath -import base64 from typing import Callable, ContextManager, Iterator, Optional, Set, cast from radicale import pathutils, types