Commit 26b872bc authored by Sebastien Robin's avatar Sebastien Robin

erp5-util-banchmark: cleanup useless spaces

parent 4fb11202
......@@ -50,7 +50,7 @@ class ArgumentType(object):
import sys
sys.path.append(os.getcwd())
if searchable_path_list:
for path in searchable_path_list:
sys.path.append(path)
......
......@@ -155,7 +155,7 @@ class PerformanceTester(object):
nargs='+',
metavar='BENCHMARK_SUITES',
help='Benchmark suite modules')
@staticmethod
def _check_parsed_arguments(namespace):
......@@ -166,9 +166,9 @@ class PerformanceTester(object):
namespace.user_tuple = ArgumentType.objectFromModule(namespace.user_info_filename,
object_name='user_tuple',
searchable_path_list=users_file_path_list)
namespace.benchmark_suite_list = namespace.benchmark_suite_list[0].split(" ")
object_benchmark_suite_list = []
for benchmark_suite in namespace.benchmark_suite_list:
object_benchmark_suite_list.append(ArgumentType.objectFromModule(benchmark_suite,
......@@ -222,7 +222,7 @@ class PerformanceTester(object):
ERP5BenchmarkResult.createResultDocument(self._argument_namespace.erp5_publish_url,
self._argument_namespace.erp5_publish_project,
self._argument_namespace.repeat,
self._argument_namespace.users)
self._argument_namespace.users)
def postRun(self, error_message_set):
if not self._argument_namespace.erp5_publish_url:
......
Markdown is supported
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