From 07d90fa4760a5f9c0dd8da156440c6d4ced3d240 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 7 Mar 2015 21:05:50 +0100 Subject: [PATCH] Fix severe bug with continuation lines --- vdirsyncer/utils/vobject.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vdirsyncer/utils/vobject.py b/vdirsyncer/utils/vobject.py index a3e5bba..f6ba9ad 100644 --- a/vdirsyncer/utils/vobject.py +++ b/vdirsyncer/utils/vobject.py @@ -222,8 +222,7 @@ class _Component(object): else: rv.append(component) else: - line = line.strip() - if line: + if line.strip(): stack[-1].lines.append(line) if multiple: