Pass ui.registerthread an Account() and not a name as string
This way, we can use all the account functions such as set_abort_event() from the ui if needed. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
@ -254,7 +254,7 @@ class BaseFolder(object):
|
||||
# self.getmessage(). So, don't call self.getmessage unless
|
||||
# really needed.
|
||||
if register: # output that we start a new thread
|
||||
self.ui.registerthread(self.accountname)
|
||||
self.ui.registerthread(self.repository.account)
|
||||
|
||||
try:
|
||||
message = None
|
||||
|
Reference in New Issue
Block a user