summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xdemos/demo_keygen.py1
-rwxr-xr-xdemos/demo_sftp.py2
-rw-r--r--paramiko/win_pageant.py2
-rwxr-xr-xtests/test_sftp.py2
4 files changed, 0 insertions, 7 deletions
diff --git a/demos/demo_keygen.py b/demos/demo_keygen.py
index 88facd46..860ee4e9 100755
--- a/demos/demo_keygen.py
+++ b/demos/demo_keygen.py
@@ -17,7 +17,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-from __future__ import with_statement
import sys
diff --git a/demos/demo_sftp.py b/demos/demo_sftp.py
index c04d6e15..a34f2b19 100755
--- a/demos/demo_sftp.py
+++ b/demos/demo_sftp.py
@@ -20,8 +20,6 @@
# based on code provided by raymond mosteller (thanks!)
-from __future__ import with_statement
-
import base64
import getpass
import os
diff --git a/paramiko/win_pageant.py b/paramiko/win_pageant.py
index c0d0f4af..3c23f2ff 100644
--- a/paramiko/win_pageant.py
+++ b/paramiko/win_pageant.py
@@ -21,8 +21,6 @@
Functions for communicating with Pageant, the basic windows ssh agent program.
"""
-from __future__ import with_statement
-
import struct
import threading
import array
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index 96315c6a..f78047bb 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -23,8 +23,6 @@ a real actual sftp server is contacted, and a new folder is created there to
do test file operations in (so no existing files will be harmed).
"""
-from __future__ import with_statement
-
from binascii import hexlify
import os
import warnings