--- a/hgext/notify.py Mon Jan 25 00:05:22 2010 -0600
+++ b/hgext/notify.py Mon Jan 25 00:05:27 2010 -0600
@@ -134,7 +134,7 @@
c = path.find('/')
if c == -1:
break
- path = path[c+1:]
+ path = path[c + 1:]
count -= 1
return path
@@ -216,7 +216,7 @@
subject = '%s: %s' % (self.root, s)
maxsubject = int(self.ui.config('notify', 'maxsubject', 67))
if maxsubject and len(subject) > maxsubject:
- subject = subject[:maxsubject-3] + '...'
+ subject = subject[:maxsubject - 3] + '...'
msg['Subject'] = mail.headencode(self.ui, subject,
self.charsets, self.test)