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):
job_command = [''] + 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:
......@@ -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)))
' '.join(list(repr(run_cmd_path)) + list(map(repr, analysis_command))))
if not dry_run:
......@@ -20,7 +20,7 @@ Run the example options and ensure they produce no warnings or errors.
<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