def _getPassword(self, prompt):
        try:
            oldout, oldin = sys.stdout, sys.stdin
            sys.stdin = sys.stdout = open('/dev/tty','r+')
            p=getpass.getpass(prompt)
            sys.stdout,sys.stdin=oldout,oldin
            return p
        except (KeyboardInterrupt, __HOLE__):
            print
            raise ConchError('PEBKAC')
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/client/default.py/SSHUserAuthClient._getPassword