From a05cca563a67b2c26f1aad107729796da01e6851 Mon Sep 17 00:00:00 2001 From: Unrud Date: Sat, 18 Mar 2017 04:58:55 +0100 Subject: [PATCH] Stop iterating when a component is found --- radicale/xmlutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 119153f..f94b5e0 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -180,6 +180,7 @@ def _prop_match(item, filter_): for component in item.components(): if component.name in ("VTODO", "VEVENT", "VJOURNAL"): vobject_item = component + break else: vobject_item = item.item if filter_length == 0: