changeset 4498:4dfb9f232a63

Fixed indentation in hgext/notify.py
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 04 Jun 2007 22:02:17 +0200
parents 7605da1c3b5c
children 84ca5597a435
files hgext/notify.py
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/notify.py
+++ b/hgext/notify.py
@@ -93,7 +93,7 @@ summary: {desc|firstline}
 
 deftemplates = {
     'changegroup': multiple_template,
-    }
+}
 
 class notifier(object):
     '''email notification class.'''
@@ -212,7 +212,8 @@ class notifier(object):
             msg['From'] = sender
 
         msg['Date'] = util.datestr(date=util.makedate(),
-                format="%a, %d %b %Y %H:%M:%S", timezone=True)
+                                   format="%a, %d %b %Y %H:%M:%S",
+                                   timezone=True)
         fix_subject()
         fix_sender()
 
@@ -230,7 +231,7 @@ class notifier(object):
                 self.ui.write('\n')
         else:
             self.ui.status(_('notify: sending %d subscribers %d changes\n') %
-                             (len(self.subs), count))
+                           (len(self.subs), count))
             mail.sendmail(self.ui, templater.email(msg['From']),
                           self.subs, msgtext)
 
@@ -266,7 +267,7 @@ def hook(ui, repo, hooktype, node=None, 
         return
     if n.skipsource(source):
         ui.debug(_('notify: changes have source "%s" - skipping\n') %
-                  source)
+                 source)
         return
     node = bin(node)
     ui.pushbuffer()