summaryrefslogtreecommitdiffhomepage
path: root/demo.py
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2004-04-06 08:16:02 +0000
committerRobey Pointer <robey@lag.net>2004-04-06 08:16:02 +0000
commit945a41dd3d2cf7f3d37012c588d8eb07bcc296b2 (patch)
tree112de2889851b2515994cbaab42bf3f868d0939e /demo.py
parented72847ad1e392af6bb8920176c30548c68ddb23 (diff)
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-42]
support py22, more or less add roger binns' patches for supporting python 2.2. i hedged a bit on the logging stuff and just added some trickery to let logging be stubbed out for python 2.2. this changed a lot of import statements but i managed to avoid hacking at any of the existing logging. socket timeouts are required for the threads to notice when they've been deactivated. worked around it by using the 'select' module on py22. also fixed the sftp unit tests to cope with a password-protected private key.
Diffstat (limited to 'demo.py')
-rwxr-xr-xdemo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.py b/demo.py
index c9dd5014..dfb7231f 100755
--- a/demo.py
+++ b/demo.py
@@ -1,6 +1,6 @@
#!/usr/bin/python
-import sys, os, socket, threading, getpass, logging, time, base64, select, termios, tty, traceback
+import sys, os, socket, threading, getpass, time, base64, select, termios, tty, traceback
import paramiko