summaryrefslogtreecommitdiffhomepage
path: root/demos/demo.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2006-08-01 11:20:53 -0700
committerRobey Pointer <robey@lag.net>2006-08-01 11:20:53 -0700
commit7ac433a6ac7b2cdf8608e8571102d599a15febde (patch)
tree36c2d7ad639a104300a583a03d3b8ebcf5b5feb8 /demos/demo.py
parent157484f5eb0132b7676e871862a9b3ff9e38508b (diff)
[project @ robey@lag.net-20060801182053-a74d120228b8009a]
use hexlify instead of custom-made hexify in demos
Diffstat (limited to 'demos/demo.py')
-rwxr-xr-xdemos/demo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/demo.py b/demos/demo.py
index 8b496d8e..cde75a6b 100755
--- a/demos/demo.py
+++ b/demos/demo.py
@@ -20,6 +20,7 @@
import base64
+from binascii import hexlify
import getpass
import os
import select
@@ -45,7 +46,7 @@ def agent_auth(transport, username):
return
for key in agent_keys:
- print 'Trying ssh-agent key %s' % paramiko.util.hexify(key.get_fingerprint()),
+ print 'Trying ssh-agent key %s' % hexlify(key.get_fingerprint()),
try:
transport.auth_publickey(username, key)
print '... success!'