/head: changeset 38
*** empty log message ***
This commit is contained in:
parent
8171027aa1
commit
cf52b56246
@ -50,6 +50,6 @@ class IMAPRepository(BaseRepository):
|
|||||||
continue
|
continue
|
||||||
retval.append(folder.IMAP.IMAPFolder(self.imapserver, name,
|
retval.append(folder.IMAP.IMAPFolder(self.imapserver, name,
|
||||||
self.nametrans(imaputil.dequote(name))))
|
self.nametrans(imaputil.dequote(name))))
|
||||||
retval.sort()
|
retval.sort(lambda x, y: cmp(x.getvisiblename(), y.getvisiblename()))
|
||||||
self.folders = retval
|
self.folders = retval
|
||||||
return retval
|
return retval
|
||||||
|
@ -31,10 +31,11 @@ class TTYUI(UIBase):
|
|||||||
(remainingsecs / 60, remainingsecs % 60))
|
(remainingsecs / 60, remainingsecs % 60))
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
else:
|
else:
|
||||||
sys.stdout.write("Wait done, proceeding with sync.... ")
|
sys.stdout.write("Wait done, proceeding with sync.... \n")
|
||||||
|
|
||||||
if sleepsecs > 0:
|
if sleepsecs > 0:
|
||||||
if len(select.select([sys.stdin], [], [], sleepsecs)[0]):
|
if len(select.select([sys.stdin], [], [], sleepsecs)[0]):
|
||||||
|
sys.stdin.readline()
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user