]> arthur.barton.de Git - bup.git/commitdiff
cmd/fuse: add missing Stat entries to appease older versions of python-fuse.
authorAvery Pennarun <apenwarr@gmail.com>
Fri, 23 Apr 2010 20:19:50 +0000 (16:19 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 23 Apr 2010 20:19:50 +0000 (16:19 -0400)
python-fuse 0.2-pre3-4ubuntu1 didn't work, now it does.
python-fuse 0.2-pre3-9 on Debian did work, still does.

cmd/fuse-cmd.py

index c1d9f128b1528744d313d6ae4cbf46e96feed89c..5d6fd96684f9500808549380523760ec9c2f682a 100755 (executable)
@@ -16,6 +16,9 @@ class Stat(fuse.Stat):
         self.st_atime = 0
         self.st_mtime = 0
         self.st_ctime = 0
+        self.st_blocks = 0
+        self.st_blksize = 0
+        self.st_rdev = 0
 
 
 cache = {}