summaryrefslogtreecommitdiff
path: root/fs/wrapfs/subfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'fs/wrapfs/subfs.py')
-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: