| Home | Trees | Indices | Help |
|
|---|
|
|
1 # 2 # Copyright (c) 2005-2008 rPath, Inc. 3 # 4 # This program is distributed under the terms of the Common Public License, 5 # version 1.0. A copy of this license should have been distributed with this 6 # source file in a file called LICENSE. If it is not present, the license 7 # is always available at http://www.rpath.com/permanent/licenses/CPL-1.0. 8 # 9 # This program is distributed in the hope that it will be useful, but 10 # without any warranty; without even the implied warranty of merchantability 11 # or fitness for a particular purpose. See the Common Public License for 12 # full details. 13 # 14 15 import getpass 1618 if userName is None: 19 return None, None 20 21 s = "Enter the password for %s on %s:" % (userName, server) 22 return userName, getpass.getpass(s)23
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 10 11:46:49 2008 | http://epydoc.sourceforge.net |