ui/Machine.py Removed extra parenthesys
This parsys should be removed.
This commit is contained in:
parent
f78c8e1ef4
commit
d4f9d101c4
@ -137,10 +137,10 @@ class MachineUI(UIBase):
|
|||||||
self.getnicename(destfolder), destfolder))
|
self.getnicename(destfolder), destfolder))
|
||||||
|
|
||||||
def folderlist(self, ulist):
|
def folderlist(self, ulist):
|
||||||
return ("\f".join(["%s\t%s" % (self.getnicename(x), x.getname()) for x in ulist]))
|
return "\f".join(["%s\t%s" % (self.getnicename(x), x.getname()) for x in ulist])
|
||||||
|
|
||||||
def uidlist(self, ulist):
|
def uidlist(self, ulist):
|
||||||
return ("\f".join([str(u) for u in ulist]))
|
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)
|
||||||
@ -188,7 +188,7 @@ class MachineUI(UIBase):
|
|||||||
self._log_con_handler.acquire() # lock the console output
|
self._log_con_handler.acquire() # lock the console output
|
||||||
try:
|
try:
|
||||||
self._printData(self.logger.info, 'getpass', username)
|
self._printData(self.logger.info, 'getpass', username)
|
||||||
return (sys.stdin.readline()[:-1])
|
return sys.stdin.readline()[:-1]
|
||||||
finally:
|
finally:
|
||||||
self._log_con_handler.release()
|
self._log_con_handler.release()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user