Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186855 Details for
Bug 263370
elog mail headers folded using tabulator instead of space
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use Header object
bug263370a.patch (text/plain), 862 bytes, created by
Martin von Gagern
on 2009-03-31 09:13:39 UTC
(
hide
)
Description:
Use Header object
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2009-03-31 09:13:39 UTC
Size:
862 bytes
patch
obsolete
>diff -Nur -F'^def ' portage-2.2_rc28/pym/portage/mail.py portage/pym/portage/mail.py >--- portage-2.2_rc28/pym/portage/mail.py 2009-03-31 10:53:00.000000000 +0200 >+++ portage/pym/portage/mail.py 2009-03-31 11:00:45.000000000 +0200 >@@ -7,6 +7,7 @@ > from email.MIMEText import MIMEText as TextMessage > from email.MIMEMultipart import MIMEMultipart as MultipartMessage > from email.MIMEBase import MIMEBase as BaseMessage >+from email.header import Header > > def create_message(sender, recipient, subject, body, attachments=None): > if attachments == None: >@@ -25,7 +26,7 @@ def create_message(sender, recipient, su > mymessage.set_unixfrom(sender) > mymessage["To"] = recipient > mymessage["From"] = sender >- mymessage["Subject"] = subject >+ mymessage["Subject"] = Header(subject) > mymessage["Date"] = time.strftime("%a, %d %b %Y %H:%M:%S %z") > > return mymessage
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263370
: 186855