Package svnmailer :: Package notifier :: Module _textmail
[show private | hide private]
[frames | no frames]

Module svnmailer.notifier._textmail

text based email notifier
Classes
_TextMail A text mail class (email.MIMEText produces undesired results)
SplittingDecorator Splits the content between diffs, if it gets loo long
TextMailNotifier Bases class for textual mail notifiers
TruncatingDecorator Truncates the mail body after n bytes
URLDecorator Shows only the urls, if the mail gets too long
URLTruncatingDecorator Truncates the mail body after n bytes

Function Summary
class decorateNotifier(cls, action, config, groupset)
Decorates the notifier class (or not)
list getNotifier(cls, config, groupset)
Returns an initialized notifier or nothing

Function Details

decorateNotifier(cls, action, config, groupset)

Decorates the notifier class (or not)
Parameters:
cls - The notifier class
           (type=class)
action - The configured action
           (type=unicode)
config - The svnmailer config
           (type=svnmailer.settings._base.BaseSettings)
groupset - The groupset to process
           (type=list)
Returns:
The decorated class or None
           (type=class)

getNotifier(cls, config, groupset)

Returns an initialized notifier or nothing
Parameters:
cls - The notifier base class to use
           (type=class)
config - The svnmailer config
           (type=svnmailer.settings._base.BaseSettings)
groupset - The groupset to process
           (type=list)
Returns:
The list of notifiers (containing 0 or 1 member)
           (type=list)

Generated by Epydoc 2.0 on Sun Sep 25 20:49:18 2005 http://epydoc.sf.net