docker-offlineimap/head/offlineimap/ui/TTY.py
jgoerzen 62e840158c /head: changeset 33
Updated.
2002-06-21 06:29:12 +01:00

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))