rdiff-backup-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py


From: Ben Escoto
Subject: [Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py
Date: Sun, 30 Oct 2005 23:53:33 -0500

Index: rdiff-backup/rdiff_backup/rpath.py
diff -u rdiff-backup/rdiff_backup/rpath.py:1.91 
rdiff-backup/rdiff_backup/rpath.py:1.92
--- rdiff-backup/rdiff_backup/rpath.py:1.91     Thu Oct 27 06:16:39 2005
+++ rdiff-backup/rdiff_backup/rpath.py  Mon Oct 31 04:53:31 2005
@@ -1128,16 +1128,6 @@
                self.fsync(fp)
                if Globals.fsync_directories: self.get_parent_rp().fsync()
 
-       def sync_delete(self):
-               """Delete self with sync to guarantee completion
-
-               On some filesystems (like linux's ext2), we must sync both the
-               file and the directory to make sure.
-
-               """
-               if self.lstat() and not self.issym(): 
self.fsync_local(self.delete)
-               if Globals.fsync_directories: self.get_parent_rp().fsync()
-
        def get_data(self):
                """Open file as a regular file, read data, close, return data"""
                fp = self.open("rb")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]