Commit 13ed282e authored by bescoto's avatar bescoto

Warn at unknown field, not abort


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@694 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 3849b8fc
...@@ -183,8 +183,7 @@ def Record2RORP(record_string): ...@@ -183,8 +183,7 @@ def Record2RORP(record_string):
if data == ':' or data == 'None': data_dict['gname'] = None if data == ':' or data == 'None': data_dict['gname'] = None
else: data_dict['gname'] = data else: data_dict['gname'] = data
elif field == "Permissions": data_dict['perms'] = int(data) elif field == "Permissions": data_dict['perms'] = int(data)
else: raise ParsingError("Unknown field in line '%s %s'" % else: log.Log("Unknown field in line '%s %s'" % (field, data), 2)
(field, data))
return rpath.RORPath(index, data_dict) return rpath.RORPath(index, data_dict)
chars_to_quote = re.compile("\\n|\\\\") 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