From 26b872bcc9556399736395e36e708cf906a0b89e Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Fri, 20 Sep 2013 11:56:33 +0200 Subject: [PATCH] erp5-util-banchmark: cleanup useless spaces --- erp5/util/benchmark/argument.py | 2 +- erp5/util/benchmark/performance_tester.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/erp5/util/benchmark/argument.py b/erp5/util/benchmark/argument.py index 39feeaf2fe..3dd4efe848 100644 --- a/erp5/util/benchmark/argument.py +++ b/erp5/util/benchmark/argument.py @@ -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) diff --git a/erp5/util/benchmark/performance_tester.py b/erp5/util/benchmark/performance_tester.py index 45f2a2dc0c..75155b5e46 100755 --- a/erp5/util/benchmark/performance_tester.py +++ b/erp5/util/benchmark/performance_tester.py @@ -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: -- 2.30.9