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
7a44f695
Commit
7a44f695
authored
Oct 07, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_test_result: fix AttributeError on stderr property durring TestResult_sendEmailNotification
parent
3afa6a67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_test_result/ExtensionTemplateItem/portal_components/extension.erp5.TestResults.py
...plateItem/portal_components/extension.erp5.TestResults.py
+1
-1
No files found.
bt5/erp5_test_result/ExtensionTemplateItem/portal_components/extension.erp5.TestResults.py
View file @
7a44f695
...
...
@@ -284,7 +284,7 @@ def TestResult_sendEmailNotification(self, mail_to=None, mail_from=None,
if full_stderr or tcr in unknown_status_test_case_list:
extend_attachment(tcr.getProperty('stderr', '').splitlines())
elif tcr in failed_test_case_list:
tb_list = tcr.getProperty('stderr').split(separator1)[1:]
tb_list = tcr.getProperty('stderr'
, ''
).split(separator1)[1:]
if len(tb_list):
for tb in tb_list[:-1]:
extend_attachment(tb.splitlines())
...
...
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