summaryrefslogtreecommitdiffstats
path: root/pym/portage/elog/mod_mail_summary.py
Commit message (Collapse)AuthorAgeFilesLines
* Make the mail_summary elog module copy needed variables from the configZac Medico2010-09-111-3/+19
| | | | | | | 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.
* Add back PortageException handler inside mod_mail_summary.finalize()Zac Medico2010-09-031-2/+4
| | | | since portage.mail.send_mail() can raise this exception.
* Use AlarmSignal for timout handling in mod_mail_summary.finalize().Zac Medico2010-09-031-10/+6
|
* Remove 'mysettings' arguments from finalize() functions since theZac Medico2010-07-201-4/+1
| | | | shouldn't be needed for backward compatibility anymore.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Use _unicode_decode() on the string returned from time.strftime(), in orderZac Medico2009-09-051-1/+6
| | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14201
* Update imports to import portage.os (with unicode wrappers).Zac Medico2009-08-141-1/+5
| | | | svn path=/main/trunk/; revision=14051
* Remove unused import.v2.2_rc37Zac Medico2009-08-091-1/+0
| | | | svn path=/main/trunk/; revision=13966
* Prepare 41 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-291-6/+7
| | | | svn path=/main/trunk/; revision=13733
* Py3k compatibility patch #4 by Ali Polatel <hawking@g.o>.Zac Medico2008-07-011-1/+1
| | | | | | Replace dict.has_key() calls with "in" and "not in" operators. svn path=/main/trunk/; revision=10873
* Bug #215240 - Use an alarm signal to implement a 60 second timeout inZac Medico2008-03-291-1/+12
| | | | | | finalize() in case send_mail() blocks indefinitely. svn path=/main/trunk/; revision=9588
* Support ${HOST} substitution in "From" field. Thanks to wschlich.Zac Medico2008-03-261-0/+1
| | | | svn path=/main/trunk/; revision=9510
* Use local time for elog summariesMarius Mauch2008-02-051-1/+1
| | | | svn path=/main/trunk/; revision=9273
* Use writemsg() to send exception string to stderr.Zac Medico2007-10-121-1/+2
| | | | svn path=/main/trunk/; revision=8058
* Handle Exceptions in mod_mail_summary.finalize() and check if the server ↵Marius Mauch2007-10-061-1/+5
| | | | | | actually supports TLS, bug #183808 svn path=/main/trunk/; revision=7984
* Make finalize() accept a parameter once again since older versions of ↵Zac Medico2007-07-301-1/+4
| | | | | | portage import elog modules from newer versions of portage when they upgrade themselves. svn path=/main/trunk/; revision=7522
* Make elog finalize() handling safe for PORTAGE_CONFIGROOT.Zac Medico2007-06-221-6/+16
| | | | svn path=/main/trunk/; revision=6955
* Remove more unnecessary list generation.Zac Medico2007-06-211-1/+1
| | | | svn path=/main/trunk/; revision=6913
* Enable elog functionality for the python side of portageMarius Mauch2007-05-181-5/+5
| | | | svn path=/main/trunk/; revision=6548
* - add new echo module for people who don't want any real loggingMarius Mauch2007-04-301-3/+3
| | | | | | | | - add copyright header in elog modules and enable keyword substitution - enable save_summary and echo modules in make.globals svn path=/main/trunk/; revision=6458
* Make subpackage naming consistentMarius Mauch2007-02-111-0/+40
svn path=/main/trunk/; revision=5955