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/ftpfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/ftpfs.py') 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): -- cgit v1.2.1