ui/Machine.py Renamed list argument

The list is a standard word for list. This variable should have other
name.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 17:58:53 +02:00
parent edb6563a11
commit f78c8e1ef4

View File

@ -136,11 +136,11 @@ class MachineUI(UIBase):
(uid, self.getnicename(srcfolder), srcfolder.getname(), (uid, self.getnicename(srcfolder), srcfolder.getname(),
self.getnicename(destfolder), destfolder)) self.getnicename(destfolder), destfolder))
def folderlist(self, list): def folderlist(self, ulist):
return ("\f".join(["%s\t%s" % (self.getnicename(x), x.getname()) for x in list])) return ("\f".join(["%s\t%s" % (self.getnicename(x), x.getname()) for x in ulist]))
def uidlist(self, list): def uidlist(self, ulist):
return ("\f".join([str(u) for u in list])) return ("\f".join([str(u) for u in ulist]))
def deletingmessages(self, uidlist, destlist): def deletingmessages(self, uidlist, destlist):
ds = self.folderlist(destlist) ds = self.folderlist(destlist)