Commit 40c0b79c authored by bescoto's avatar bescoto

Some final changes for 0.13.5


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@566 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 74318420
New in v0.13.5 (2005/??/??)
New in v0.13.5 (2005/03/28)
---------------------------
Added error-correcting fsync suggestion by Antoine Perdaens.
......
......@@ -197,8 +197,7 @@ def cmp_attribs(rp1, rp2):
if Globals.change_ownership and rp1.getuidgid() != rp2.getuidgid():
result = None
elif rp1.getperms() != rp2.getperms(): result = None
# Don't compare ctime for now, add later
#elif rp1.getctime() != rp2.getctime(): result = None
elif rp1.getctime() != rp2.getctime(): result = None
elif rp1.issym() and rp2.issym(): # Don't check times for some types
result = 1
elif rp1.isblkdev() and rp2.isblkdev(): result = 1
......
......@@ -438,9 +438,9 @@ class FileAttributes(FileCopying):
def testCopyRaise(self):
"""Should raise exception for non-existent files"""
self.assertRaises(RPathException, rpath.copy_attribs,
self.assertRaises(AssertionError, rpath.copy_attribs,
self.hl1, self.nothing)
self.assertRaises(RPathException, rpath.copy_attribs,
self.assertRaises(AssertionError, rpath.copy_attribs,
self.nothing, self.nowrite)
class CheckPath(unittest.TestCase):
......
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