Package svnmailer :: Package notifier :: Module _textmail :: Class URLDecorator
[hide private]

Class URLDecorator

source code

object --+
         |
        URLDecorator

Shows only the urls, if the mail gets too long

Instance Methods [hide private]
 
__init__(self, config, groupset, maxsize, drop)
Initialization
source code
 
_getMailWriter(self, fp)
Returns a "urling" mail writer
source code
 
writeNotification(self)
Writes the notification body
source code
 
writeMetaData(self)
Writes the commit metadata output
source code
 
writePathList(self)
Writes the commit path list
source code
 
writeDiffList(self)
Writes the commit diffs
source code
 
writeContentDiff(self, change)
Writes the content diff for a particular change
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
file like object url_fp
The alternative stream
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, groupset, maxsize, drop)
(Constructor)

source code 

Initialization

Parameters:
  • maxsize (int) - The maximum number of bytes that should be written into one mail
  • drop (int) - maximum number of mails
Overrides: object.__init__