diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-01-11 23:42:36 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-01-11 23:42:36 +0000 |
commit | 39ef2b6768f446470e6b6a53aab9ffe01e9fade1 (patch) | |
tree | 7fa52406ffed146bc210e2764c4ee6a78fb7ce96 /fs/ftpfs.py | |
parent | 60da3d535a5d591b7003e93e66364bd6ea161461 (diff) | |
download | pyfilesystem-git-39ef2b6768f446470e6b6a53aab9ffe01e9fade1.tar.gz |
Changed DeleteRootError to RemoveRootError for consistency
Diffstat (limited to 'fs/ftpfs.py')
-rw-r--r-- | fs/ftpfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ftpfs.py b/fs/ftpfs.py index aebe1d5..99c7b46 100644 --- a/fs/ftpfs.py +++ b/fs/ftpfs.py @@ -1300,7 +1300,7 @@ class FTPFS(FS): if self.isfile(path): raise ResourceInvalidError(path) if normpath(path) in ('', '/'): - raise DeleteRootError(path) + raise RemoveRootError(path) if not force: for _checkpath in self.listdir(path): |