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/sftpfs.py | |
parent | 60da3d535a5d591b7003e93e66364bd6ea161461 (diff) | |
download | pyfilesystem-git-39ef2b6768f446470e6b6a53aab9ffe01e9fade1.tar.gz |
Changed DeleteRootError to RemoveRootError for consistency
Diffstat (limited to 'fs/sftpfs.py')
-rw-r--r-- | fs/sftpfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sftpfs.py b/fs/sftpfs.py index 3b085ed..3bab1ab 100644 --- a/fs/sftpfs.py +++ b/fs/sftpfs.py @@ -476,7 +476,7 @@ class SFTPFS(FS): def removedir(self,path,recursive=False,force=False): npath = self._normpath(path) if normpath(path) in ('', '/'): - raise DeleteRootError(path) + raise RemoveRootError(path) if force: for path2 in self.listdir(path,absolute=True): try: |