Commit 1b47cf8e authored by bescoto's avatar bescoto

Fixed error reporting when bad line parsing


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@523 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 116c1209
......@@ -183,7 +183,8 @@ def Record2RORP(record_string):
if data == ':': data_dict['gname'] = None
else: data_dict['gname'] = data
elif field == "Permissions": data_dict['perms'] = int(data)
else: raise ParsingError("Unknown field in line '%s'" % line)
else: raise ParsingError("Unknown field in line '%s %s'" %
(field, data))
return rpath.RORPath(index, data_dict)
chars_to_quote = re.compile("\\n|\\\\")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment