diff options
author | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2006-11-27 21:31:55 +0000 |
---|---|---|
committer | noah <noah@656d521f-e311-0410-88e0-e7920216d269> | 2006-11-27 21:31:55 +0000 |
commit | 6a2b30aa6b6997f38c04cec92d5827673c163063 (patch) | |
tree | 79a95338ed6dfeb74c127b97534b52d994193272 | |
parent | 45b9669e99c36f1eb34672c473aa1afcca3044ba (diff) | |
download | pexpect-6a2b30aa6b6997f38c04cec92d5827673c163063.tar.gz |
Minor fix to getting username and password.
git-svn-id: http://pexpect.svn.sourceforge.net/svnroot/pexpect/trunk@443 656d521f-e311-0410-88e0-e7920216d269
-rwxr-xr-x | pexpect/examples/hive.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pexpect/examples/hive.py b/pexpect/examples/hive.py index 02d9184..144dd0a 100755 --- a/pexpect/examples/hive.py +++ b/pexpect/examples/hive.py @@ -118,13 +118,9 @@ def main (): cli_username = '' if '--username' in options: cli_username = options['--username'] - else: - cli_username = raw_input('username: ') cli_password = '' if '--password' in options: cli_password = options['--password'] - else: - cli_password = getpass.getpass('password: ') hive = {} hive_names = [] |