##// END OF EJS Templates
convert: tolerate trailing spaces on map files...
Wagner Bruna -
r15608:63ff8fe3 stable
parent child Browse files
Show More
@@ -384,7 +384,7 b' class mapfile(dict):'
384 384 return
385 385 for i, line in enumerate(fp):
386 386 try:
387 key, value = line.splitlines()[0].rsplit(' ', 1)
387 key, value = line.splitlines()[0].rstrip().rsplit(' ', 1)
388 388 except ValueError:
389 389 raise util.Abort(
390 390 _('syntax error in %s(%d): key/value pair expected')
General Comments 0
You need to be logged in to leave comments. Login now