description=None,
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
fromfile_prefix_chars="@",
description=None,
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
fromfile_prefix_chars="@",
- 'If present, config will raise an exception if it doesn\'t recognize an argument. The ' +
- 'default behavior is to ignore this so as to allow interoperability with programs that ' +
- 'want to use their own argparse calls to parse their own, separate commandline args.'
- )
+ 'If present, config will raise an exception if it doesn\'t recognize an argument. The '
+ + 'default behavior is to ignore this so as to allow interoperability with programs that '
+ + 'want to use their own argparse calls to parse their own, separate commandline args.'
+ ),
print(msg, file=sys.stderr)
saved_messages.append(msg)
if not os.path.exists(loadfile):
print(msg, file=sys.stderr)
saved_messages.append(msg)
if not os.path.exists(loadfile):
sys.argv = sys.argv[:1] + unknown
# Check for savefile and populate it if requested.
savefile = config['config_savefile']
if savefile and len(savefile) > 0:
with open(savefile, 'w') as wf:
sys.argv = sys.argv[:1] + unknown
# Check for savefile and populate it if requested.
savefile = config['config_savefile']
if savefile and len(savefile) > 0:
with open(savefile, 'w') as wf: