summaryrefslogtreecommitdiff
path: root/fs/wrapfs
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2012-01-11 23:42:36 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2012-01-11 23:42:36 +0000
commit9a8ca7fa4a9a78a763a4f4ed402bb9d195d660fe (patch)
tree7fa52406ffed146bc210e2764c4ee6a78fb7ce96 /fs/wrapfs
parentcef87f99c67c14d3af752458ac396f202e09f61e (diff)
downloadpyfilesystem-9a8ca7fa4a9a78a763a4f4ed402bb9d195d660fe.tar.gz
Changed DeleteRootError to RemoveRootError for consistency
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@737 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/wrapfs')
-rw-r--r--fs/wrapfs/subfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/wrapfs/subfs.py b/fs/wrapfs/subfs.py
index 1d221a4..c83b015 100644
--- a/fs/wrapfs/subfs.py
+++ b/fs/wrapfs/subfs.py
@@ -61,7 +61,7 @@ class SubFS(WrapFS):
# Careful not to recurse outside the subdir
path = normpath(path)
if path in ('', '/'):
- raise DeleteRootError(path)
+ raise RemoveRootError(path)
super(SubFS,self).removedir(path,force=force)
if recursive:
try: