call Conf with full set of parameters, including debug
This commit is contained in:
parent
e6d2b9a7bc
commit
a986a70800
@ -33,7 +33,7 @@ class Debug:
|
||||
def get_config(filename, cfg):
|
||||
"""reads filename as config, checks for DEST parameter and returns cfgfile object"""
|
||||
try:
|
||||
ret = Conf(filename)
|
||||
ret = Conf(filename=filename, debug=cfg.debug, force_filename=True)
|
||||
except ValueError:
|
||||
cfg.debug.stderr("Error reading config file %s" % filename)
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user