Skip to content

Commit

Permalink
Added check before attempting to purge local file from ram
Browse files Browse the repository at this point in the history
  • Loading branch information
falense committed Dec 12, 2015
1 parent 3090762 commit ea3e046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion b2_fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ def _remove_local_file(self, path):
if path in self.dirty_files:
self.dirty_files.remove(path)
del self.open_files[path]
self.closed_files.remove(path)
if path in self.closed_files:
self.closed_files.remove(path)


def unlink(self, path):
Expand Down

0 comments on commit ea3e046

Please sign in to comment.