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
commit39ef2b6768f446470e6b6a53aab9ffe01e9fade1 (patch)
tree7fa52406ffed146bc210e2764c4ee6a78fb7ce96 /fs/wrapfs
parent60da3d535a5d591b7003e93e66364bd6ea161461 (diff)
downloadpyfilesystem-git-39ef2b6768f446470e6b6a53aab9ffe01e9fade1.tar.gz
Changed DeleteRootError to RemoveRootError for consistency
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: