14
0

- Add deprecated_getiterator.patch (.getiterator() in

etree.Element is obsolete, use just plain iter())

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=33
This commit is contained in:
2021-05-31 16:10:00 +00:00
committed by Git OBS Bridge
parent 6aa7d125a5
commit a460548bf0
4 changed files with 30 additions and 11 deletions

View File

@@ -0,0 +1,15 @@
---
vdirsyncer/storage/dav.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/vdirsyncer/storage/dav.py
+++ b/vdirsyncer/storage/dav.py
@@ -120,7 +120,7 @@ def _merge_xml(items):
return None
rv = items[0]
for item in items[1:]:
- rv.extend(item.getiterator())
+ rv.extend(iter(item))
return rv