Mercurial > hg
diff hgext/convert/convcmd.py @ 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 | 5b159ebb19cf |
children | c48d778d7c23 |
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()