mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-25 06:32:41 +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
@@ -145,7 +145,7 @@ class Meabo(Workload):
|
||||
Controls which phases to run.
|
||||
''',
|
||||
constraint=lambda x: all(0 < v <=10 for v in x),
|
||||
default=range(1, 11),
|
||||
default=list(range(1, 11)),
|
||||
),
|
||||
Parameter(
|
||||
'threads',
|
||||
|
Reference in New Issue
Block a user