mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix is-not-defined filter in addressbook-query report
This commit is contained in:
parent
21099f2240
commit
398e93e215
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def prop_match(vobject_item, filter_, ns):
|
||||||
# Point #1 of rfc4791-9.7.2
|
# Point #1 of rfc4791-9.7.2
|
||||||
return name in vobject_item.contents
|
return name in vobject_item.contents
|
||||||
if len(filter_) == 1:
|
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
|
# Point #2 of rfc4791-9.7.2
|
||||||
return name not in vobject_item.contents
|
return name not in vobject_item.contents
|
||||||
if name not in vobject_item.contents:
|
if name not in vobject_item.contents:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue