From: Avery Pennarun Date: Fri, 23 Apr 2010 20:19:50 +0000 (-0400) Subject: cmd/fuse: add missing Stat entries to appease older versions of python-fuse. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c22b131c97caa3c3cd5e418b095a2d6728f49725;p=packages%2Fb%2Fbup.git cmd/fuse: add missing Stat entries to appease older versions of python-fuse. python-fuse 0.2-pre3-4ubuntu1 didn't work, now it does. python-fuse 0.2-pre3-9 on Debian did work, still does. --- diff --git a/cmd/fuse-cmd.py b/cmd/fuse-cmd.py index c1d9f12..5d6fd96 100755 --- a/cmd/fuse-cmd.py +++ b/cmd/fuse-cmd.py @@ -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 = {}