Merge "Stop using deprecated 'message' attribute in Exception"
This commit is contained in:
commit
8e91c5e054
|
@ -89,7 +89,7 @@ def filter_command(command, rootwrap_config):
|
|||
rw_config = wrapper.RootwrapConfig(rawconfig)
|
||||
except ValueError as exc:
|
||||
LOG.error('Incorrect value in %(config)s: %(exc)s',
|
||||
{'config': rootwrap_config, 'exc': exc.message})
|
||||
{'config': rootwrap_config, 'exc': exc})
|
||||
sys.exit(errno.EINVAL)
|
||||
except ConfigParser.Error:
|
||||
LOG.error('Incorrect configuration file: %(config)s',
|
||||
|
|
Loading…
Reference in New Issue