pep8: Add compliance with rule E261 google/google-calendar.

This commit is contained in:
Aditya Bansal 2017-06-01 01:34:31 +05:30 committed by Tim Abbott
parent 42b0680ab2
commit 9814bd77cc
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ def populate_events():
event_timezone = pytz.timezone(event["start"]["timeZone"])
# pytz timezones include an extra localize method that's not part
# of the tzinfo base class.
start = event_timezone.localize(start) # type: ignore
start = event_timezone.localize(start) # type: ignore
except KeyError:
# All-day events can have only a date.
start_naive = dateutil.parser.parse(event["start"]["date"])
@ -140,7 +140,7 @@ def populate_events():
calendar_timezone = pytz.timezone(feed["timeZone"])
# pytz timezones include an extra localize method that's not part
# of the tzinfo base class.
start = calendar_timezone.localize(start_naive) # type: ignore
start = calendar_timezone.localize(start_naive) # type: ignore
try:
events.append((event["id"], start, event["summary"]))