Navigation Menu

Skip to content

Commit

Permalink
fuse9p: init FidCache before access it
Browse files Browse the repository at this point in the history
  • Loading branch information
svinota committed Jan 2, 2013
1 parent 31922de commit 11d5713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py9p/fuse9p.py
Expand Up @@ -212,9 +212,9 @@ def __init__(self, address, credentials, mountpoint,
self._interval = 1
self._reconnect_event = threading.Event()
self._connected_event = threading.Event()
self.fidcache = FidCache()
self._reconnect(init=True)
self.dircache = {}
self.fidcache = FidCache()
self.tfidcache = FidCache(start=MIN_TFID, limit=MAX_TFID)

fuse.Fuse.__init__(self, version="%prog " + fuse.__version__,
Expand Down

0 comments on commit 11d5713

Please sign in to comment.