fusetoys

various hacky fuse filesystem utilities
git clone https://a3nm.net/git/fusetoys/
Log | Files | Refs | README

commit 9dba92ddf907baf0b09acfb252b5fe4ae2a1c755
parent 265a0d7d4b00c0933773a5119d5bd17947e23dbb
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 29 Dec 2012 00:19:05 +0100

fix bug when creating folders in cache

Diffstat:
cachefs.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cachefs.py b/cachefs.py @@ -197,7 +197,7 @@ class CacheFS(fuse.Fuse): try: os.makedirs(head) except OSError as exc: # Python >2.5 - if exc.errno == errno.EEXIST and os.path.isdir(path): + if exc.errno == errno.EEXIST and os.path.isdir(head): pass else: raise shutil.copy2(self.sourcePath(path), self.cachePath(path))