Show More
@@ -384,7 +384,7 b' class mapfile(dict):' | |||||
384 | return |
|
384 | return | |
385 | for i, line in enumerate(fp): |
|
385 | for i, line in enumerate(fp): | |
386 | try: |
|
386 | try: | |
387 | key, value = line.splitlines()[0].rsplit(' ', 1) |
|
387 | key, value = line.splitlines()[0].rstrip().rsplit(' ', 1) | |
388 | except ValueError: |
|
388 | except ValueError: | |
389 | raise util.Abort( |
|
389 | raise util.Abort( | |
390 | _('syntax error in %s(%d): key/value pair expected') |
|
390 | _('syntax error in %s(%d): key/value pair expected') |
General Comments 0
You need to be logged in to leave comments.
Login now