From 8a2c03fe1c4ce3e23b117922ee587dc7ad46126c Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Tue, 3 Nov 2009 14:28:34 -0800 Subject: Include a fix for broken rsync symlink support diff --git a/FuseArchive/FileSystem.py b/FuseArchive/FileSystem.py index fe793e1..93f8101 100644 --- a/FuseArchive/FileSystem.py +++ b/FuseArchive/FileSystem.py @@ -122,12 +122,17 @@ class FileSystem(fuse.Fuse): # which suggests it should be fixed even though it doesn't appear to be for # me in both lenny and squeeze # +# While I don't like it you can also modify the 2 Timespec() calls to have +# None as the first argument which will fix the typeerrors above, but +# you'll need to remember to do it again later if you upgrade the package. +# ####### # The following utimens method would do the same as the above utime method. # We can't make it better though as the Python stdlib doesn't know of # subsecond preciseness in acces/modify times. # -# def utimens(self, path, ts_acc, ts_mod): + def utimens(self, path, ts_acc, ts_mod): + logging.error( "Ignoring utimens, hope you like it rsync!" ) # os.utime("." + path, (ts_acc.tv_sec, ts_mod.tv_sec)) def access(self, path, mode): -- cgit v0.10.2