Parent Directory | Revision Log | Patch
revision 1.87.2.1 by bescoto, Thu Oct 20 20:43:50 2005 UTC | revision 1.87.2.2 by bescoto, Tue Nov 22 22:45:12 2005 UTC | |
---|---|---|
# | Line 873 class RPath(RORPath): | Line 873 class RPath(RORPath): |
873 | log.Log("Deleting %s" % self.path, 7) | log.Log("Deleting %s" % self.path, 7) |
874 | if self.isdir(): | if self.isdir(): |
875 | try: self.rmdir() | try: self.rmdir() |
876 | except os.error: | except EnvironmentError: |
877 | if Globals.fsync_directories: self.fsync() | if Globals.fsync_directories: self.fsync() |
878 | self.conn.shutil.rmtree(self.path) | self.conn.shutil.rmtree(self.path) |
879 | else: self.conn.os.unlink(self.path) | else: self.conn.os.unlink(self.path) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |