mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 03:42:35 +01:00
Add support for Python 3
Add support for running under Python 3, while maintaining compatibility with Python 2. See http://python-future.org/compatible_idioms.html for more details behind these changes.
This commit is contained in:
committed by
Marc Bonnici
parent
c3ddb31d4d
commit
b3de85455a
@@ -464,7 +464,7 @@ class Runner(object):
|
||||
self.logger.info('Skipping remaining jobs.')
|
||||
self.context.skip_remaining_jobs()
|
||||
except Exception as e:
|
||||
message = e.message if e.message else str(e)
|
||||
message = e.args[0] if e.args else str(e)
|
||||
log.log_error(e, self.logger)
|
||||
self.logger.error('Skipping remaining jobs due to "{}".'.format(e))
|
||||
self.context.skip_remaining_jobs()
|
||||
|
Reference in New Issue
Block a user