strict per item in config_files
This commit is contained in:
parent
153ac4058d
commit
b2b8d5f9cc
8 changed files with 141 additions and 86 deletions
|
|
@ -269,7 +269,7 @@ def send_queued_msgs(cbtype, *args, **kws):
|
|||
log = logging.getLogger('koji.plugin.protonmsg')
|
||||
global CONFIG
|
||||
if not CONFIG:
|
||||
CONFIG = koji.read_config_files(CONFIG_FILE, strict=True)
|
||||
CONFIG = koji.read_config_files([(CONFIG_FILE, True)])
|
||||
urls = CONFIG.get('broker', 'urls').split()
|
||||
test_mode = False
|
||||
if CONFIG.has_option('broker', 'test_mode'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue