summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-03-28 14:52:46 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-03-28 14:52:46 +0000
commit92275d6f2df762a868625f66cdfb1294d1e88b18 (patch)
tree8b4aaec8c8f6b60779632dd5af0adc2156904bb6
parent4d58fdf3888b4d824ab9a8506d805205d9df4cb7 (diff)
downloadrdiff-backup-92275d6f2df762a868625f66cdfb1294d1e88b18.tar.gz
Some final changes for 0.13.5
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@566 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG2
-rw-r--r--rdiff-backup/rdiff_backup/rpath.py3
-rw-r--r--rdiff-backup/testing/rpathtest.py4
3 files changed, 4 insertions, 5 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 79de2f6..57a6ec2 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,4 +1,4 @@
-New in v0.13.5 (2005/??/??)
+New in v0.13.5 (2005/03/28)
---------------------------
Added error-correcting fsync suggestion by Antoine Perdaens.
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py
index d2547bf..de89026 100644
--- a/rdiff-backup/rdiff_backup/rpath.py
+++ b/rdiff-backup/rdiff_backup/rpath.py
@@ -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
diff --git a/rdiff-backup/testing/rpathtest.py b/rdiff-backup/testing/rpathtest.py
index c9fb783..6d7dee2 100644
--- a/rdiff-backup/testing/rpathtest.py
+++ b/rdiff-backup/testing/rpathtest.py
@@ -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):