# HG changeset patch # User Thomas Arendsen Hein # Date 1180987337 -7200 # Node ID 4dfb9f232a63a501bacc8a06aa3744dd1b7ed2cb # Parent 7605da1c3b5cc2551826821c0c2bc6131a584612 Fixed indentation in hgext/notify.py diff -r 7605da1c3b5c -r 4dfb9f232a63 hgext/notify.py --- a/hgext/notify.py Mon Jun 04 00:24:48 2007 -0300 +++ b/hgext/notify.py Mon Jun 04 22:02:17 2007 +0200 @@ -93,7 +93,7 @@ deftemplates = { 'changegroup': multiple_template, - } +} class notifier(object): '''email notification class.''' @@ -212,7 +212,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() @@ -230,7 +231,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) @@ -266,7 +267,7 @@ return if n.skipsource(source): ui.debug(_('notify: changes have source "%s" - skipping\n') % - source) + source) return node = bin(node) ui.pushbuffer()