From 9ed0fa9e6f53286c85a498a02408729bad770f70 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Wed, 15 Nov 2017 09:10:58 -0800 Subject: [PATCH] mypy: Remove unnecessary 'type: ignore' in google calendar. --- zulip/integrations/google/google-calendar | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zulip/integrations/google/google-calendar b/zulip/integrations/google/google-calendar index f8df057..eb0896f 100755 --- a/zulip/integrations/google/google-calendar +++ b/zulip/integrations/google/google-calendar @@ -128,7 +128,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) except KeyError: # All-day events can have only a date. start_naive = dateutil.parser.parse(event["start"]["date"]) @@ -138,7 +138,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) try: events.append((event["id"], start, event["summary"]))