From f78c8e1ef439819393bfc4eebd92ca3af13283c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 30 Aug 2020 17:58:53 +0200 Subject: [PATCH] ui/Machine.py Renamed list argument The list is a standard word for list. This variable should have other name. --- offlineimap/ui/Machine.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/offlineimap/ui/Machine.py b/offlineimap/ui/Machine.py index ce3af10..2a77a41 100644 --- a/offlineimap/ui/Machine.py +++ b/offlineimap/ui/Machine.py @@ -136,11 +136,11 @@ class MachineUI(UIBase): (uid, self.getnicename(srcfolder), srcfolder.getname(), self.getnicename(destfolder), destfolder)) - def folderlist(self, list): - return ("\f".join(["%s\t%s" % (self.getnicename(x), x.getname()) for x in list])) + def folderlist(self, ulist): + return ("\f".join(["%s\t%s" % (self.getnicename(x), x.getname()) for x in ulist])) - def uidlist(self, list): - return ("\f".join([str(u) for u in list])) + def uidlist(self, ulist): + return ("\f".join([str(u) for u in ulist])) def deletingmessages(self, uidlist, destlist): ds = self.folderlist(destlist)