From 39ef2b6768f446470e6b6a53aab9ffe01e9fade1 Mon Sep 17 00:00:00 2001 From: willmcgugan Date: Wed, 11 Jan 2012 23:42:36 +0000 Subject: Changed DeleteRootError to RemoveRootError for consistency --- fs/sftpfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/sftpfs.py') 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: -- cgit v1.2.1