summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoah <noah@656d521f-e311-0410-88e0-e7920216d269>2006-11-27 21:31:55 +0000
committernoah <noah@656d521f-e311-0410-88e0-e7920216d269>2006-11-27 21:31:55 +0000
commit6a2b30aa6b6997f38c04cec92d5827673c163063 (patch)
tree79a95338ed6dfeb74c127b97534b52d994193272
parent45b9669e99c36f1eb34672c473aa1afcca3044ba (diff)
downloadpexpect-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-xpexpect/examples/hive.py4
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 = []