Commit 2ead23c2 authored by MAISSIAT's avatar MAISSIAT
Browse files

Fix #84: Use of the configuration file protocol if it exists

parent 7ce7ecb0
......@@ -501,6 +501,7 @@ class DCheck(object):
config._start_time = datetime.now()
config.test_mode = options.test_mode
data_reader = None
if options.configfile is not None:
# check for WORKSPACE in config path
modulepath = options.configfile
......@@ -527,7 +528,7 @@ class DCheck(object):
log.exception(e)
sys.exit(1)
if len(args) > 0:
elif len(args) > 0:
url = args[0]
setConfigFromUrl(config, url)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment