summaryrefslogtreecommitdiff
path: root/fs/memoryfs.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-07 14:51:26 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2011-03-07 14:51:26 +0000
commit9da556e72ef2fe21d1a8891c8fb275e6c69e96d9 (patch)
treeebe34b915f034407e8c56de7ff9f7ec6f8eb3ad8 /fs/memoryfs.py
parent49bd11eef10959269e872183337f9494bb81931c (diff)
downloadpyfilesystem-9da556e72ef2fe21d1a8891c8fb275e6c69e96d9.tar.gz
Added "thread_safe" meta value
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@643 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/memoryfs.py')
-rw-r--r--fs/memoryfs.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/fs/memoryfs.py b/fs/memoryfs.py
index 52f33be..0e4f76e 100644
--- a/fs/memoryfs.py
+++ b/fs/memoryfs.py
@@ -235,16 +235,17 @@ class MemoryFS(FS):
"""
- _meta = { 'network' : False,
- 'virtual': False,
- 'read_only' : False,
- 'unicode_paths' : True,
- 'case_insensitive_paths' : False,
- 'atomic.move' : False,
- 'atomic.copy' : False,
- 'atomic.makedir' : True,
- 'atomic.rename' : True,
- 'atomic.setcontents' : False,
+ _meta = {'thread_safe' : True,
+ 'network' : False,
+ 'virtual': False,
+ 'read_only' : False,
+ 'unicode_paths' : True,
+ 'case_insensitive_paths' : False,
+ 'atomic.move' : False,
+ 'atomic.copy' : False,
+ 'atomic.makedir' : True,
+ 'atomic.rename' : True,
+ 'atomic.setcontents' : False,
}
def _make_dir_entry(self, *args, **kwargs):