Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
26b872bc
Commit
26b872bc
authored
Sep 20, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5-util-banchmark: cleanup useless spaces
parent
4fb11202
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 @
26b872bc
...
...
@@ -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
)
...
...
erp5/util/benchmark/performance_tester.py
View file @
26b872bc
...
...
@@ -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
:
...
...
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