From c0662990e2e8ea049acde7d6aa928daa2e686821 Mon Sep 17 00:00:00 2001 From: ecebuzz Date: Fri, 29 Jul 2016 16:52:26 -0400 Subject: [PATCH] Eliminate a potential redundant check in config --- mrq/config.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mrq/config.py b/mrq/config.py index 9ebd56c9..064a935a 100644 --- a/mrq/config.py +++ b/mrq/config.py @@ -439,8 +439,6 @@ def get_config( # We only keep variables starting with an uppercase character. if k[0].isupper(): default_config[k.lower()] = v - if k.lower() not in default_config: - default_config[k.lower()] = v # Merge the config in the order given by the user merged_config = default_config