From 398e93e215df72f352da2c0156cb478737c1945c Mon Sep 17 00:00:00 2001 From: Michael Stilkerich Date: Fri, 22 Jan 2021 15:25:18 +0100 Subject: [PATCH] Fix is-not-defined filter in addressbook-query report --- radicale/item/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/item/filter.py b/radicale/item/filter.py index c3143db..17919cf 100644 --- a/radicale/item/filter.py +++ b/radicale/item/filter.py @@ -115,7 +115,7 @@ def prop_match(vobject_item, filter_, ns): # Point #1 of rfc4791-9.7.2 return name in vobject_item.contents if len(filter_) == 1: - if filter_[0].tag == xmlutils.make_clark("C:is-not-defined"): + if filter_[0].tag == xmlutils.make_clark("%s:is-not-defined" % ns): # Point #2 of rfc4791-9.7.2 return name not in vobject_item.contents if name not in vobject_item.contents: