/head: changeset 75
Fixed a bug with generating mailbox listings
This commit is contained in:
parent
1669e0a2df
commit
c70ab7e897
@ -168,6 +168,7 @@ def syncfolder(accountname, remoterepos, remotefolder, localrepos,
|
|||||||
|
|
||||||
|
|
||||||
def syncitall():
|
def syncitall():
|
||||||
|
global mailboxes
|
||||||
mailboxes = [] # Reset.
|
mailboxes = [] # Reset.
|
||||||
threads = []
|
threads = []
|
||||||
for accountname in accounts:
|
for accountname in accounts:
|
||||||
@ -179,7 +180,6 @@ def syncitall():
|
|||||||
threads.append(thread)
|
threads.append(thread)
|
||||||
# Wait for the threads to finish.
|
# Wait for the threads to finish.
|
||||||
threadutil.threadsreset(threads)
|
threadutil.threadsreset(threads)
|
||||||
|
|
||||||
mbnames.genmbnames(config, mailboxes)
|
mbnames.genmbnames(config, mailboxes)
|
||||||
|
|
||||||
syncitall()
|
syncitall()
|
||||||
|
Loading…
Reference in New Issue
Block a user