summaryrefslogtreecommitdiff
path: root/fs/xattrs.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-05 00:04:16 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-12-05 00:04:16 +0000
commite72b070d2cf1b9dc42118d6eb48ce6c614c861e7 (patch)
treee6238eaa21181e62ec05b06e13722fe28302f3c4 /fs/xattrs.py
parent800bcbc18feccd92e1f4e4b87f4f6706e96f08aa (diff)
downloadpyfilesystem-e72b070d2cf1b9dc42118d6eb48ce6c614c861e7.tar.gz
Added FS command line scripts
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@537 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/xattrs.py')
-rw-r--r--fs/xattrs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xattrs.py b/fs/xattrs.py
index d4df046..859065d 100644
--- a/fs/xattrs.py
+++ b/fs/xattrs.py
@@ -173,7 +173,7 @@ class SimulateXAttr(WrapFS):
try:
self.wrapped_fs.removedir(path,recursive=recursive)
except FSError:
- self.wrapped_fs.createfile(attr_file,attr_file_contents)
+ self.wrapped_fs.setcontents(attr_file,attr_file_contents)
raise
def copy(self,src,dst,**kwds):