From 9c3786afbd2b16a270107a0d9a1e6a53150ef95e Mon Sep 17 00:00:00 2001 From: ArtemIsmagilov Date: Wed, 12 Jun 2024 15:02:40 +0400 Subject: [PATCH] by default __next__() method yield only key --- caldav/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caldav/objects.py b/caldav/objects.py index 46c9dfc..f0c65bd 100644 --- a/caldav/objects.py +++ b/caldav/objects.py @@ -170,7 +170,7 @@ def children( props=props, multi_value_props=multiprops ) - for path in list(properties.keys()): + for path in properties: resource_types = properties[path][dav.ResourceType.tag] resource_name = properties[path][dav.DisplayName.tag]