From b22bc3f327a2d0ca61c6fb0d18661bd4058fff6e Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sat, 7 Mar 2026 07:58:21 +0100 Subject: [PATCH] sharing: flake8 fixes --- radicale/sharing/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/radicale/sharing/__init__.py b/radicale/sharing/__init__.py index f540fe86..6ae96830 100644 --- a/radicale/sharing/__init__.py +++ b/radicale/sharing/__init__.py @@ -344,7 +344,7 @@ class BaseSharing: ShareType="token", PathOrToken=match[1]) if result is not None: - logger.info("Sharing/%s: resolved %r->%r, user ->%r, permissions %r" , "token", path, result['PathMapped'], result['Owner'], result['Permissions']) + logger.info("Sharing/%s: resolved %r->%r, user ->%r, permissions %r", "token", path, result['PathMapped'], result['Owner'], result['Permissions']) return result else: if logger.isEnabledFor(logging.DEBUG): @@ -385,7 +385,7 @@ class BaseSharing: logger.debug("TRACE/sharing/map: not found") return None - logger.info("Sharing/%s: resolved path %r->%r, user %r->%r, permissions %r" , "map", path, result['PathMapped'], user, result['Owner'], result['Permissions']) + logger.info("Sharing/%s: resolved path %r->%r, user %r->%r, permissions %r", "map", path, result['PathMapped'], user, result['Owner'], result['Permissions']) return result else: if logger.isEnabledFor(logging.DEBUG): @@ -909,8 +909,8 @@ class BaseSharing: return httputils.NOT_ALLOWED if 'Properties' in request_data and Properties is None: - # clear properties - Properties = {} + # clear properties + Properties = {} result = self.database_update_sharing( ShareType=ShareType, @@ -947,8 +947,8 @@ class BaseSharing: return httputils.NOT_ALLOWED if 'Properties' in request_data and Properties is None: - # clear properties - Properties = {} + # clear properties + Properties = {} # limited update as user result = self.database_update_sharing(