If config.toml doesn't exist, then an IOError will be raised
on the `with open(...)` line. Prior to
e788fa7, this was
caught because the `except` clause didn't specify what
exceptions it caught, so both IOError and OSError were
caught
try:
with open(args.config or 'config.toml') as config:
build.config_toml = config.read()
try:
with open(args.config or 'config.toml') as config:
build.config_toml = config.read()
+ except (OSError, IOError):
pass
if '\nverbose = 2' in build.config_toml:
pass
if '\nverbose = 2' in build.config_toml: