diff options
Diffstat (limited to 'FuseArchive/FileSystem.py')
-rw-r--r-- | FuseArchive/FileSystem.py | 7 |
1 files changed, 6 insertions, 1 deletions
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): |