Remove duplicate code

This commit is contained in:
Jay Newlin (PW) 2018-12-20 11:23:01 -05:00
parent ba19a6d341
commit c5b828bcdb

View File

@ -144,10 +144,6 @@ def make_config():
config = ConfigParser() config = ConfigParser()
config.optionxform = str config.optionxform = str
config_files = [BASE_CONFIG_FILENAME, ENV_CONFIG_FILENAME]
if OVERRIDE_CONFIG_FILENAME:
config_files.append(OVERRIDE_CONFIG_FILENAME)
config_files = [BASE_CONFIG_FILENAME, ENV_CONFIG_FILENAME] config_files = [BASE_CONFIG_FILENAME, ENV_CONFIG_FILENAME]
if OVERRIDE_CONFIG_FILENAME: if OVERRIDE_CONFIG_FILENAME:
config_files.append(OVERRIDE_CONFIG_FILENAME) config_files.append(OVERRIDE_CONFIG_FILENAME)