From 6db946080e70c4667978dfada3855622fbb958df Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Thu, 21 Apr 2016 09:12:00 +0900 Subject: [PATCH] Cosmetics --- radicale/xmlutils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index b5d41e1..31f2ca5 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -538,9 +538,9 @@ def report(path, xml_request, collection): items = [collection.get(href) for href, etag in collection.list()] for item in items: - if tag_filters and \ - item.name not in tag_filters and \ - not set(x.upper() for x in item.contents) & tag_filters: + if (tag_filters and + item.name not in tag_filters and + not {tag.upper() for tag in item.contents} & tag_filters): continue found_props = []