From 12b5e89949f8ef0049140b302b54040f721a226e Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Thu, 8 Aug 2002 03:45:03 +0100 Subject: [PATCH] /offlineimap/head: changeset 211 Yet more typos --- offlineimap/head/offlineimap/repository/Maildir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offlineimap/head/offlineimap/repository/Maildir.py b/offlineimap/head/offlineimap/repository/Maildir.py index 194fa59..e01ffec 100644 --- a/offlineimap/head/offlineimap/repository/Maildir.py +++ b/offlineimap/head/offlineimap/repository/Maildir.py @@ -47,7 +47,7 @@ class MaildirRepository(BaseRepository): for component in foldername.split('/'): assert component != invalid, "When using nested folders (/ as a separator in the account config), your folder names may not contain 'new', 'cur', 'tmp', or 'offlineimap.uidvalidity'." - assert oldername.find('./') == -1, "Folder names may not contain ../" + assert foldername.find('./') == -1, "Folder names may not contain ../" assert not foldername.startswith('/'), "Folder names may not begin with /" oldcwd = os.getcwd() os.chdir(self.root)