aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* portage/mail: always UTF-8 charset for MIMETextZac Medico2011-10-081-2/+1
| | | | This will fix bug #386095.
* Update timestamps in headers of modified files.Zac Medico2011-05-171-1/+0
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2011-05-151-5/+5
|
* Update date headers in modified files.Zac Medico2011-02-191-1/+1
|
* mail: handle unicode in subject more for python3Zac Medico2011-02-181-22/+26
|
* mail: handle unicode in subject for python3Zac Medico2011-02-181-3/+13
|
* Make the mail_summary elog module copy needed variables from the configZac Medico2010-09-111-2/+2
| | | | | | | instance, since we don't need to hold a reference for the whole thing. This also makes it possible to rely on per-package variable settings that may have come from /etc/portage/package.env, since we'll be isolated from any future mutations of mysettings.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Import 'email' and 'smtlib' locally since python ebuilds remove the 'email'Zac Medico2010-03-091-11/+21
| | | | | | module when built with USE=build. svn path=/main/trunk/; revision=15793
* Bug #291331 - Force ascii encoding in send_mail() in order to avoidZac Medico2010-03-081-2/+12
| | | | | | UnicodeEncodeError from smtplib.sendmail with python3. svn path=/main/trunk/; revision=15759
* Bug #293448 - Fix TypeError when sending mail with python3, triggered by thisZac Medico2009-11-171-1/+3
| | | | | | | issue: http://bugs.python.org/issue6521. Thanks to Albert W. Hopkins <marduk@python.net> for this patch. svn path=/main/trunk/; revision=14844
* Convert MIMEText body to string before sending.Zac Medico2009-11-111-1/+1
| | | | svn path=/main/trunk/; revision=14808
* Preserve previous usage of MIMEText constructor under python2, since it'sZac Medico2009-11-111-2/+5
| | | | | | known to work this way. svn path=/main/trunk/; revision=14807
* Bug #292528 - Specify UTF-8 in the MIMEText constructor arguments, in orderZac Medico2009-11-111-4/+5
| | | | | | | to avoid conversiont to ascii and subsequent UnicodeEncodeError when sending mail. The idea comes from here: http://bugs.python.org/issue4403#msg76425. svn path=/main/trunk/; revision=14806
* Bug #291331 - Make send_mail() encode the unicode message as bytes beforeZac Medico2009-11-041-1/+3
| | | | | | | passing it to smtplib.SMTP.sendmail(), in order to avoid a UnicodeEncodeError which SMTP.send() tries to encode the message a plain ascii. svn path=/main/trunk/; revision=14776
* Bug #286780 - Fix email.MIME* imports to use email.mime.* (works with pythonZac Medico2009-09-281-3/+3
| | | | | | 2.6 and python 3). Thanks to Hanno Meyer-Thurow <h.mth@web.de> for this patch. svn path=/main/trunk/; revision=14458
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14316
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Replace _content_encoding, _fs_encoding, and _merge_encoding with directZac Medico2009-08-211-12/+13
| | | | | | usage of _encodings. svn path=/main/trunk/; revision=14113
* Use _content_encoding where appropriate.Zac Medico2009-08-181-23/+32
| | | | svn path=/main/trunk/; revision=14088
* Prepare 308 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-08-151-6/+7
| | | | svn path=/main/trunk/; revision=14067
* Make everything safe for unicode (this should fix the elog modules thatZac Medico2009-08-091-1/+28
| | | | | | send mail). svn path=/main/trunk/; revision=13965
* Bug #263370 - In create_message(), use email.header.Header to wrap theZac Medico2009-03-311-1/+4
| | | | | | | subject, as a workaround so that long subject lines are wrapped correctly by <=python-2.6 (gentoo bug #263370, python issue #1974). svn path=/main/trunk/; revision=13261
* Always use basestring instead of str with isinstance().Zac Medico2009-03-071-1/+1
| | | | svn path=/main/trunk/; revision=12775
* Handle Exceptions in mod_mail_summary.finalize() and check if the server ↵Marius Mauch2007-10-061-0/+4
| | | | | | actually supports TLS, bug #183808 svn path=/main/trunk/; revision=7984
* Enable keyword expansionMarius Mauch2007-07-061-1/+1
| | | | svn path=/main/trunk/; revision=7169
* Namespace sanitizing, step 2Marius Mauch2007-01-251-4/+4
| | | | | | | Rename portage.exec to portage.process to avoid syntax errors svn path=/main/trunk/; revision=5780
* Namespace sanitizing, step 1Marius Mauch2007-01-251-0/+89
svn path=/main/trunk/; revision=5778