Commit af00526e authored by Sebastien Robin's avatar Sebastien Robin

erp5-util-banchmark: cleanup useless spaces

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