Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Fontaine
erp5
Commits
7b964df7
Commit
7b964df7
authored
Jan 14, 2013
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
take into account allow_restart also with new style test results
parent
003d56c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5/Tool/TaskDistributionTool.py
product/ERP5/Tool/TaskDistributionTool.py
+2
-1
No files found.
product/ERP5/Tool/TaskDistributionTool.py
View file @
7b964df7
...
@@ -146,7 +146,8 @@ class TaskDistributionTool(BaseTool):
...
@@ -146,7 +146,8 @@ class TaskDistributionTool(BaseTool):
return
test_result
.
getRelativeUrl
(),
last_revision
return
test_result
.
getRelativeUrl
(),
last_revision
if
last_state
in
(
'stopped'
,
'failed'
):
if
last_state
in
(
'stopped'
,
'failed'
):
if
reference_list_string
is
not
None
:
if
reference_list_string
is
not
None
:
if
reference_list_string
==
test_result
.
getReference
():
if
reference_list_string
==
test_result
.
getReference
()
\
and
not
allow_restart
:
return
return
elif
last_revision
==
int_index
and
not
allow_restart
:
elif
last_revision
==
int_index
and
not
allow_restart
:
return
return
...
...
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