1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/vdirsyncer/vdirsyncer-0.16.8-python_getiterator_deprecation.patch
2021-04-05 18:19:05 +00:00

22 lines
655 B
Diff

From 7577fa21177442aacc2d86640ef28cebf1c4aaef Mon Sep 17 00:00:00 2001
From: Hugo Osvaldo Barrera <hugo@barrera.io>
Date: Tue, 9 Jun 2020 17:04:46 +0200
Subject: [PATCH] Update usage of deprecated method
---
vdirsyncer/storage/dav.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vdirsyncer/storage/dav.py b/vdirsyncer/storage/dav.py
index 07d164fb..a7e2422c 100644
--- a/vdirsyncer/storage/dav.py
+++ b/vdirsyncer/storage/dav.py
@@ -124,7 +124,7 @@ def _merge_xml(items):
return None
rv = items[0]
for item in items[1:]:
- rv.extend(item.getiterator())
+ rv.extend(item.iter())
return rv