From e64b3ef9a70b5f64535a670eb8637b29968d349b Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 1 Jan 2015 12:19:01 +0100 Subject: [PATCH] Remove useless else --- modules/allocine/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/allocine/module.py b/modules/allocine/module.py index a5122631..c92ac9ec 100644 --- a/modules/allocine/module.py +++ b/modules/allocine/module.py @@ -185,8 +185,8 @@ class AllocineModule(Module, CapCinema, CapVideo, CapCalendarEvent, CapCollectio events = list(self.browser.search_events(query)) events.sort(key=lambda x: x.start_date, reverse=False) return events - else: - raise UserError('You must enter a zip code in city field') + + raise UserError('You must enter a zip code in city field') def get_event(self, id): return self.browser.get_event(id)