Commit c4a70ae0 authored by dgaudet's avatar dgaudet

Fix showstopper problem on OSX handling pre-1.1.6 rdiff-backup metadata.

(Patch from Andrew Ferguson.)


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@771 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 370c8725
New in v1.1.7 (2006/11/12)
--------------------------
Fix showstopper problem on OSX handling pre-1.1.6 rdiff-backup metadata.
(Patch from Andrew Ferguson.)
New in v1.1.6 (2006/11/11)
--------------------------
......
......@@ -70,7 +70,8 @@ def carbonfile2string(cfile):
retvalparts.append('type:%s' % binascii.hexlify(cfile['type']))
retvalparts.append('location:%d,%d' % cfile['location'])
retvalparts.append('flags:%d' % cfile['flags'])
retvalparts.append('createDate:%d' % cfile['createDate'])
try: retvalparts.append('createDate:%d' % cfile['createDate'])
except KeyError: log.Log("Writing pre-1.1.6 style metadata, without creation date", 9)
return '|'.join(retvalparts)
def string2carbonfile(data):
......
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