From 37f2a7c3823830105b035508193415a0b274b745 Mon Sep 17 00:00:00 2001 From: Steve Garon Date: Thu, 7 May 2020 19:56:47 -0400 Subject: [PATCH] Remove unnecessary if --- iparse/iparse.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/iparse/iparse.py b/iparse/iparse.py index d14813d..4a760d1 100644 --- a/iparse/iparse.py +++ b/iparse/iparse.py @@ -269,9 +269,7 @@ def execute(self, request): keys_dict = json.load(f) self.known_keys = keys_dict['glossary'] - patterns = None - if PatternMatch: - patterns = PatternMatch() + patterns = PatternMatch() # Info.plist main_exe = None