Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
af00526e
Commit
af00526e
authored
Sep 20, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5-util-banchmark: cleanup useless spaces
parent
6c0eb5b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
erp5/util/benchmark/argument.py
erp5/util/benchmark/argument.py
+1
-1
erp5/util/benchmark/performance_tester.py
erp5/util/benchmark/performance_tester.py
+4
-4
No files found.
erp5/util/benchmark/argument.py
View file @
af00526e
...
@@ -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
)
...
...
erp5/util/benchmark/performance_tester.py
View file @
af00526e
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment