##// END OF EJS Templates
convert: Ignore empty lines in authormap file.
Marti Raudsepp -
r6184:9d13e712 default
parent child Browse files
Show More
@@ -191,6 +191,8 b' class converter(object):'
191 def readauthormap(self, authorfile):
191 def readauthormap(self, authorfile):
192 afile = open(authorfile, 'r')
192 afile = open(authorfile, 'r')
193 for line in afile:
193 for line in afile:
194 if line.strip() == '':
195 continue
194 try:
196 try:
195 srcauthor = line.split('=')[0].strip()
197 srcauthor = line.split('=')[0].strip()
196 dstauthor = line.split('=')[1].strip()
198 dstauthor = line.split('=')[1].strip()
General Comments 0
You need to be logged in to leave comments. Login now