Commit b3d5acf3 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Merge branch 'rjhunter-py2py3-fix' into 'master'

Explicitly cast python map to list for python 2/3 compatibility in HltEfficiencyChecker wizard

See merge request !22
parents c0dcb9a5 79ad2249
Pipeline #2090072 passed with stage
in 23 seconds
......@@ -79,7 +79,7 @@ def main(config, run_cmd_path, dry_run=False):
options.append(os.path.expandvars(opts))
job_command = ['gaudirun.py'] + options
print(' '.join([repr(run_cmd_path)] + map(repr, job_command)))
print(' '.join(list(repr(run_cmd_path)) + list(map(repr, job_command))))
if not dry_run:
run(job_command)
......@@ -93,6 +93,7 @@ def main(config, run_cmd_path, dry_run=False):
'exception below)\n{}'.format(e))
analysis_command = [script] + guess_args(args)
print(' '.join([repr(run_cmd_path)] + map(repr, analysis_command)))
print(
' '.join(list(repr(run_cmd_path)) + list(map(repr, analysis_command))))
if not dry_run:
run(analysis_command)
......@@ -20,7 +20,7 @@ Run the example options and ensure they produce no warnings or errors.
</set></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="timeout"><integer>2400</integer></argument>
<argument name="timeout"><integer>3600</integer></argument>
<argument name="validator"><text>
countErrorLines({"FATAL": 0, "ERROR": 0})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment