mirror of
https://github.com/OfflineIMAP/offlineimap.git
synced 2024-06-26 07:29:03 +02:00
12 lines
280 B
Python
12 lines
280 B
Python
|
import UIBase
|
||
|
from getpass import getpass
|
||
|
|
||
|
class TTYUI(UIBase.UIBase):
|
||
|
def _msg(s, msg):
|
||
|
print msg
|
||
|
|
||
|
def getpass(s, accountname, host, port, user):
|
||
|
return getpass("%s: Password required for %s on %s" %
|
||
|
(accountname, user, host))
|
||
|
|