Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
email
Commits
a9ed7be32186
Commit
cab3aa3a
authored
Dec 09, 2009
by
Carlos
Browse files
[mq]: validation_from_empty_value
parent
2ea3368b341d
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/email.py
View file @
a9ed7be3
...
...
@@ -34,7 +34,7 @@ def formated_sender(email):
# sender address has been removed, look in email's headers
message
=
email
.
umessage_headers
()
if
message
:
return
xml_escape
(
message
.
get
(
'From'
))
return
xml_escape
(
message
.
get
(
'From'
,
''
))
return
email
.
_cw
.
_
(
'unknown sender'
)
class
EmailPrimaryView
(
primary
.
PrimaryView
):
...
...
Write
Preview
Supports
Markdown
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