hgext/notify.py
changeset 4500 eb26f8f70364
parent 4495 fc20fa9f2dfd
parent 4498 4dfb9f232a63
child 5975 75d9fe70c654
--- a/hgext/notify.py	Mon Jun 04 00:26:53 2007 -0300
+++ b/hgext/notify.py	Mon Jun 04 22:08:42 2007 +0200
@@ -92,7 +92,7 @@
 
 deftemplates = {
     'changegroup': multiple_template,
-    }
+}
 
 class notifier(object):
     '''email notification class.'''
@@ -211,7 +211,8 @@
             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()
 
@@ -229,7 +230,7 @@
                 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)
 
@@ -265,7 +266,7 @@
         return
     if n.skipsource(source):
         ui.debug(_('notify: changes have source "%s" - skipping\n') %
-                  source)
+                 source)
         return
     node = bin(node)
     ui.pushbuffer()