1
0
mirror of https://github.com/OfflineIMAP/offlineimap.git synced 2024-06-26 07:29:03 +02:00
offlineimap/head/offlineimap/ui/TTY.py

12 lines
280 B
Python
Raw Normal View History

2002-06-21 07:29:12 +02:00
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))