Commit 0ab7d0ea authored by Sebastien Robin's avatar Sebastien Robin

fixed indentation to have proper try/except messages

parent bb451659
No related merge requests found
...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment