summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2013-11-19 09:37:33 -0800
committerScott Maxwell <scott@codecobblers.com>2013-11-19 09:38:05 -0800
commit981f768a62402a5aaa9f9f0ddfb4e14faa0d4442 (patch)
treebad5d1abfd09ce5770faf4a5ceff5aea26660dcc
parentdcc78768bf2063bd63e9c7260ff74ea1dbccb89c (diff)
downloadparamiko-981f768a62402a5aaa9f9f0ddfb4e14faa0d4442.tar.gz
Remove `from __future__ import with_statement`
-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