Mercurial > hg-stable
changeset 6184:9d13e7129423
convert: Ignore empty lines in authormap file.
author | Marti Raudsepp <marti@juffo.org> |
---|---|
date | Thu, 28 Feb 2008 17:37:56 +0200 |
parents | 0750e4ba9d3d |
children | c48d778d7c23 |
files | hgext/convert/convcmd.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/convcmd.py Thu Feb 28 22:39:59 2008 +0100 +++ b/hgext/convert/convcmd.py Thu Feb 28 17:37:56 2008 +0200 @@ -191,6 +191,8 @@ def readauthormap(self, authorfile): afile = open(authorfile, 'r') for line in afile: + if line.strip() == '': + continue try: srcauthor = line.split('=')[0].strip() dstauthor = line.split('=')[1].strip()