ui/UIBase: folderlist(): avoid built-in list() redefinition

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2015-01-01 21:55:24 +01:00
parent a35c432671
commit 11a28fb0cb
1 changed files with 3 additions and 3 deletions

View File

@ -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):