From 11a28fb0cb2bddf6e8f6d322f2d6f73b543f4933 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Thu, 1 Jan 2015 21:55:24 +0100 Subject: [PATCH] ui/UIBase: folderlist(): avoid built-in list() redefinition Signed-off-by: Nicolas Sebrecht --- offlineimap/ui/UIBase.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/offlineimap/ui/UIBase.py b/offlineimap/ui/UIBase.py index 1013a98..0edfa18 100644 --- a/offlineimap/ui/UIBase.py +++ b/offlineimap/ui/UIBase.py @@ -230,9 +230,9 @@ class UIBase(object): raise NotImplementedError("Prompting for a password is not supported"\ " in this UI backend.") - def folderlist(self, list): - return ', '.join(["%s[%s]" % \ - (self.getnicename(x), x.getname()) for x in list]) + def folderlist(self, folder_list): + return ', '.join(["%s[%s]"% \ + (self.getnicename(x), x.getname()) for x in folder_list]) ################################################## WARNINGS def msgtoreadonly(self, destfolder, uid, content, flags):