From 4e8f518cbbba512aea43047c341b6b721ad398fb Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Sun, 26 Jun 2016 21:23:29 +0200 Subject: [PATCH] Remove spaces from empty lines --- radicale/xmlutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 3524f46..bc87d14 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -222,7 +222,7 @@ def _time_range_match(vobject_item, filter_, child_name): dtstart = child.dtstart.value if isinstance(dtstart, datetime) and not dtstart.tzinfo: dtstart = dtstart.replace(tzinfo=timezone.utc) - + if not isinstance(dtstart, datetime): dtstart_is_datetime = False # TODO: changing dates to datetimes may be wrong because of tz @@ -240,7 +240,7 @@ def _time_range_match(vobject_item, filter_, child_name): tzinfo=timezone.utc) if isinstance(dtend, datetime) and not dtend.tzinfo: dtend = dtend.replace(tzinfo=timezone.utc) - + return start < dtend and end > dtstart elif duration is not None: duration = duration.value