From 2e9600c71ffbf68c497dc2c073f9c72bde2cba0c Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 20 Apr 2018 14:57:22 +0200 Subject: [PATCH] Add missing absolute imports --- radicale/storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/storage.py b/radicale/storage.py index 9ac3842c..c4baf249 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -48,7 +48,7 @@ import vobject if sys.version_info >= (3, 5): # HACK: Avoid import cycle for Python < 3.5 - from . import xmlutils + from radicale import xmlutils if os.name == "nt": import ctypes @@ -97,7 +97,7 @@ def load(configuration, logger): if sys.version_info < (3, 5): # HACK: Avoid import cycle for Python < 3.5 global xmlutils - from . import xmlutils + from radicale import xmlutils storage_type = configuration.get("storage", "type") if storage_type == "multifilesystem": collection_class = Collection