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
Laurent S
erp5
Commits
0ab7d0ea
Commit
0ab7d0ea
authored
Oct 23, 2012
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed indentation to have proper try/except messages
parent
bb451659
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
75 deletions
+75
-75
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+75
-75
No files found.
erp5/util/testnode/testnode.py
View file @
0ab7d0ea
...
@@ -281,7 +281,7 @@ branch = %(branch)s
...
@@ -281,7 +281,7 @@ branch = %(branch)s
log
=
self
.
log
log
=
self
.
log
log
(
'Testnode.run, finally close'
)
log
(
'Testnode.run, finally close'
)
process_manager
.
killPreviousRun
()
process_manager
.
killPreviousRun
()
if
0
and
test_result
is
not
None
:
if
test_result
is
not
None
:
try
:
try
:
test_result
.
removeWatch
(
log_file_name
)
test_result
.
removeWatch
(
log_file_name
)
except
KeyError
:
except
KeyError
:
...
@@ -298,6 +298,7 @@ branch = %(branch)s
...
@@ -298,6 +298,7 @@ branch = %(branch)s
test_result
=
None
test_result
=
None
try
:
try
:
while
True
:
while
True
:
try
:
begin
=
time
.
time
()
begin
=
time
.
time
()
portal_url
=
config
[
'test_suite_master_url'
]
portal_url
=
config
[
'test_suite_master_url'
]
portal
=
taskdistribution
.
TaskDistributionTool
(
portal_url
,
logger
=
DummyLogger
(
log
))
portal
=
taskdistribution
.
TaskDistributionTool
(
portal_url
,
logger
=
DummyLogger
(
log
))
...
@@ -317,7 +318,6 @@ branch = %(branch)s
...
@@ -317,7 +318,6 @@ branch = %(branch)s
retry_software_count
=
0
retry_software_count
=
0
same_revision_count
=
0
same_revision_count
=
0
test_suite_title
=
config
[
'test_suite_title'
]
test_suite_title
=
config
[
'test_suite_title'
]
try
:
# kill processes from previous loop if any
# kill processes from previous loop if any
process_manager
.
killPreviousRun
()
process_manager
.
killPreviousRun
()
full_revision_list
=
self
.
getFullRevisionList
(
revision_dict
)
full_revision_list
=
self
.
getFullRevisionList
(
revision_dict
)
...
...
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