[PATCH] ui/UIBase: folderlist(): avoid built-in list() redefinition
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Mon Jan 5 12:17:56 GMT 2015
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev at laposte.net>
---
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):
--
2.2.1
More information about the OfflineIMAP-project
mailing list