summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/rdiff_backup/metadata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/metadata.py b/rdiff-backup/rdiff_backup/metadata.py
index 95ccdfc..fd6b7ed 100644
--- a/rdiff-backup/rdiff_backup/metadata.py
+++ b/rdiff-backup/rdiff_backup/metadata.py
@@ -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|\\\\")