From 72d20e26d6f0c5c8a5de3c562d425eb607806d5b Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 15 May 2014 16:27:18 +0200 Subject: [PATCH] Remove unnecessary enumeration --- vdirsyncer/storage/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/storage/http.py b/vdirsyncer/storage/http.py index 78ca9f1..5fa1c8c 100644 --- a/vdirsyncer/storage/http.py +++ b/vdirsyncer/storage/http.py @@ -117,7 +117,7 @@ class HttpStorage(Storage): r = request('GET', self.url, **self._settings) r.raise_for_status() self._items.clear() - for i, item in enumerate(split_collection(r.text)): + for item in split_collection(r.text): item = Item(item) self._items[self._get_href(item)] = item, item.hash