From e60f0b1aaaea796bae1e4ce67105fed3ac2ac64a Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 1 Mar 2014 21:47:37 +0100 Subject: [PATCH] Indent xml pieces This breaks my indentation in vim otherwise. I am fully that this indent creates different strings with extreme amounts of whitespace, but this doesn't change any functionality, so i don't care. --- vdirsyncer/storage/dav/caldav.py | 36 +++++++++++++++++--------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/vdirsyncer/storage/dav/caldav.py b/vdirsyncer/storage/dav/caldav.py index 567e9b3..0a910e5 100644 --- a/vdirsyncer/storage/dav/caldav.py +++ b/vdirsyncer/storage/dav/caldav.py @@ -113,16 +113,17 @@ class CaldavStorage(Storage): def list(self): data = ''' - - - - - - - {caldavfilter} - - -''' + + + + + + + {caldavfilter} + + + ''' start = self.start_date end = self.end_date if start and end: @@ -155,13 +156,14 @@ class CaldavStorage(Storage): return () data = ''' - - - - - - {hrefs} -''' + + + + + + {hrefs} + ''' href_xml = [] for href in hrefs: assert '/' not in href, href