aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMathieu Blondel <mathieu@mblondel.org>2007-05-21 22:35:42 +0000
committerMathieu BlondelMathieu Blondel <mathieu@mblondel.orgmathieu@mblondel.org>2007-05-21 22:35:42 +0000
commitd9a48b38057ac79816ff1a904d2d9e480d66ddff (patch)
treea17b187ebc9917a4d71b313ace1b2bc992934a30 /src
parent7b2e90cd5f3b70b8ae32ec317531b372f35e4b0e (diff)
downloadwikipediafs-d9a48b38057ac79816ff1a904d2d9e480d66ddff.tar.gz
small fix
git-svn-id: http://svn.code.sf.net/p/wikipediafs/code/branches/fuse-python-new-api@34 59acd704-e115-0410-a914-e735a229ed7c
Diffstat (limited to 'src')
-rw-r--r--src/wikipediafs/metadir.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wikipediafs/metadir.py b/src/wikipediafs/metadir.py
index b6ebe03..17ffd4c 100644
--- a/src/wikipediafs/metadir.py
+++ b/src/wikipediafs/metadir.py
@@ -294,6 +294,7 @@ class MetaDir(Fuse):
# from an editor file to a valid file
buf = self.get_file_buf(path)
d.write_to(path1, buf.getvalue())
+ self.open_mode = None
self.remove_file_buf(path)
elif not self.is_valid_file(path):
# from an editor file to an editor file