summaryrefslogtreecommitdiff
path: root/examples/passmass.py
diff options
context:
space:
mode:
authorSteven Myint <git@stevenmyint.com>2013-10-04 07:02:31 -0700
committerSteven Myint <git@stevenmyint.com>2013-10-04 07:02:31 -0700
commitdd0479cb32e55e882a8d1391af2d5b37f25e2db7 (patch)
treeae595ce22b4b9d6700c71e2af4ef7d8055808b15 /examples/passmass.py
parentf64079f942fce756b52c81210401afd175b05902 (diff)
downloadpexpect-git-dd0479cb32e55e882a8d1391af2d5b37f25e2db7.tar.gz
Fix mixture of tabs and spaces
Diffstat (limited to 'examples/passmass.py')
-rwxr-xr-xexamples/passmass.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/passmass.py b/examples/passmass.py
index 1e371a4..4c4c850 100755
--- a/examples/passmass.py
+++ b/examples/passmass.py
@@ -72,7 +72,7 @@ def change_password(child, user, oldpassword, newpassword):
if i == 0:
print 'Host did not like new password. Here is what it said...'
print child.before
- child.send (chr(3)) # Ctrl-C
+ child.send (chr(3)) # Ctrl-C
child.sendline('') # This should tell remote passwd command to quit.
return
child.sendline(newpassword)
@@ -106,4 +106,3 @@ if __name__ == '__main__':
main()
except pexpect.ExceptionPexpect, e:
print str(e)
-