Show More
@@ -143,7 +143,7 b' class patchheader(object):' | |||||
143 | if not self.updateheader(['From: ', '# User '], user): |
|
143 | if not self.updateheader(['From: ', '# User '], user): | |
144 | try: |
|
144 | try: | |
145 | patchheaderat = self.comments.index('# HG changeset patch') |
|
145 | patchheaderat = self.comments.index('# HG changeset patch') | |
146 | self.comments.insert(patchheaderat + 1,'# User ' + user) |
|
146 | self.comments.insert(patchheaderat + 1, '# User ' + user) | |
147 | except ValueError: |
|
147 | except ValueError: | |
148 | self.comments = ['From: ' + user, ''] + self.comments |
|
148 | self.comments = ['From: ' + user, ''] + self.comments | |
149 | self.user = user |
|
149 | self.user = user |
General Comments 0
You need to be logged in to leave comments.
Login now