ui/UIBase: folderlist(): avoid built-in list() redefinition
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
a35c432671
commit
11a28fb0cb
@ -230,9 +230,9 @@ class UIBase(object):
|
|||||||
raise NotImplementedError("Prompting for a password is not supported"\
|
raise NotImplementedError("Prompting for a password is not supported"\
|
||||||
" in this UI backend.")
|
" in this UI backend.")
|
||||||
|
|
||||||
def folderlist(self, list):
|
def folderlist(self, folder_list):
|
||||||
return ', '.join(["%s[%s]" % \
|
return ', '.join(["%s[%s]"% \
|
||||||
(self.getnicename(x), x.getname()) for x in list])
|
(self.getnicename(x), x.getname()) for x in folder_list])
|
||||||
|
|
||||||
################################################## WARNINGS
|
################################################## WARNINGS
|
||||||
def msgtoreadonly(self, destfolder, uid, content, flags):
|
def msgtoreadonly(self, destfolder, uid, content, flags):
|
||||||
|
Loading…
Reference in New Issue
Block a user