equal
deleted
inserted
replaced
409 authorfile = self.authorfile |
409 authorfile = self.authorfile |
410 if authorfile: |
410 if authorfile: |
411 self.ui.status(_('writing author map file %s\n') % authorfile) |
411 self.ui.status(_('writing author map file %s\n') % authorfile) |
412 ofile = open(authorfile, 'wb+') |
412 ofile = open(authorfile, 'wb+') |
413 for author in self.authors: |
413 for author in self.authors: |
414 ofile.write("%s=%s\n" % (author, self.authors[author])) |
414 ofile.write(util.tonativeeol("%s=%s\n" |
|
415 % (author, self.authors[author]))) |
415 ofile.close() |
416 ofile.close() |
416 |
417 |
417 def readauthormap(self, authorfile): |
418 def readauthormap(self, authorfile): |
418 afile = open(authorfile, 'rb') |
419 afile = open(authorfile, 'rb') |
419 for line in afile: |
420 for line in afile: |