author | Yann E. MORIN <yann.morin.1998@anciens.enib.fr> |
Wed, 12 Aug 2009 10:46:03 +0200 | |
changeset 9334 | 08f59f7916f9 |
parent 9333 | 4e7149ed98e8 |
child 9335 | 6eaadd777bc4 |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py Mon Aug 10 23:27:08 2009 +0200 +++ b/hgext/mq.py Wed Aug 12 10:46:03 2009 +0200 @@ -143,7 +143,7 @@ if not self.updateheader(['From: ', '# User '], user): try: patchheaderat = self.comments.index('# HG changeset patch') - self.comments.insert(patchheaderat + 1,'# User ' + user) + self.comments.insert(patchheaderat + 1, '# User ' + user) except ValueError: self.comments = ['From: ' + user, ''] + self.comments self.user = user