/head: changeset 62
Initial work on threading support
This commit is contained in:
@ -9,9 +9,10 @@ class TTYUI(UIBase):
|
||||
def _msg(s, msg):
|
||||
print msg
|
||||
|
||||
def getpass(s, accountname, host, port, user):
|
||||
def getpass(s, accountname, config):
|
||||
return getpass("%s: Enter password for %s on %s: " %
|
||||
(accountname, user, host))
|
||||
(accountname, config.get(accountname, "remoteuser"),
|
||||
config.get(accountname, "remotehost")))
|
||||
|
||||
def syncingmessages(s, sr, sf, dr, df):
|
||||
if s.verbose:
|
||||
|
@ -36,7 +36,7 @@ class UIBase:
|
||||
|
||||
################################################## INPUT
|
||||
|
||||
def getpass(s, accountname, host, port, user):
|
||||
def getpass(s, accountname, config):
|
||||
raise NotImplementedException
|
||||
|
||||
def folderlist(s, list):
|
||||
|
Reference in New Issue
Block a user