 >     message.addTag("Referencing", rev)
 > 
 >     # print whole message to file
->     print >>out, message.getMessage()
+>     print >> out, message.getMessage()
 >     message.sendFile(out, fname)
-327a673
+326a721,723
+>     '''
+>     Hook for deleting an entry
+>     '''
+327a725
 >     (out, fname) = makeTmp()
-329,333c675,683
+329,333c727,735
 <     (out, fname) = generateMailHeader("%s '%s' deleted" % (key, value))
 < 
 <     print >>out, mailTag("Deleted %s" % key, value)

< #! /usr/bin/env python
---
> #!/usr/bin/env python
11a12,24
> import smtplib
> from re import sub as re_sub, search as re_search, split as re_split
> from email.mime.multipart import MIMEMultipart

>     '''
>     State class
>     '''
49a88,90
>         '''
>         Clear data structures
>         '''
57a99,101
>         '''
>         Write to cache file
>         '''
67c111
<             print >>out, "head", head, ref
---
>             print >> out, "head", head, ref
70c114
<             print >>out, "tag", tag, ref
---
>             print >> out, "tag", tag, ref
73c117
<             print >>out, "rev", rev
---
>             print >> out, "rev", rev
75,78d118
<         # No longer used.
<         #
<         # for rev in self.diffs:
<         #     print >>out, "diff", rev
80a121,123
>         '''
>         Read from cache file
>         '''
112c155,158
< class GitConfig:
---
> class GitConfig(object):
>     '''
>     GitConfig class
>     '''
115c161,163
<         self.maxdiffsize *= 1024 # KBytes to bytes.
---
>         # KBytes to bytes.
>         self.maxdiffsize *= 1024 # pylint: disable=E1101
> 
118c166,167
<             self.allchanges = set([head.strip() for head in self.allchanges.split(",")])
---
>             self.allchanges = \
>                 set([head.strip() for head in self.allchanges.split(",")])
121c170,172
<             self.mergediffs = set([head.strip() for head in self.mergediffs.split(",")])
---
>             # pylint: disable=E1101
>             self.mergediffs = \
>                 set([head.strip() for head in self.mergediffs.split(",")])
123c174
<         if not self.debug:
---
>         if not self.debug: # pylint: disable=E1101
136c187,189
< 
---
>         '''
>         Parse command line arguments
>         '''
150c203,204
<                 parser.add_option("--%s" % name, action=action, dest=name, default=defval, help=help)
---
>                 parser.add_option("--%s" % name, action=action, dest=name,
>                     default=defval, help=help)
154c208,209
<                 parser.add_option("--%s" % name, action="store", type=type, default=defval, dest=name, help=help)
---
>                 parser.add_option("--%s" % name, action="store", type=type,
>                     default=defval, dest=name, help=help)
164a220,222
>         '''
>         Read users from configuration file
>         '''
177a236,238
>         '''
>         Return git configuration
>         '''
180a242,571
> class Colorer(object):
>     '''
>     Simple class that uses Pygments library to provide colorized
>     output (full HTML) for diffs.
>     '''
>     def __init__(self):
>         self.result = ''
>         if pygments_available:
>             self.formatter = HtmlFormatter(linenos=True, full=True,
>                 encoding="utf-8")
>             self.lexerobj  = DiffLexer()
> 
>     def formatDiff(self, data=None):
>         '''
>         Format diff
>         '''
