summaryrefslogtreecommitdiff
path: root/paramiko/sftp_handle.py
diff options
context:
space:
mode:
authorScott Maxwell <scott@codecobblers.com>2014-03-07 20:45:26 -0800
committerScott Maxwell <scott@codecobblers.com>2014-03-07 20:45:26 -0800
commitf0017b83309899bf6fffc0fa90093c36f1a7f7ea (patch)
tree582d35dee4b32f022bddc2245731a76112f7ac8e /paramiko/sftp_handle.py
parent073c71a8223ff77cacd8c555ef63ce24f0c3d50c (diff)
downloadparamiko-f0017b83309899bf6fffc0fa90093c36f1a7f7ea.tar.gz
Fix import * and a bunch of PEP8 formatting
Diffstat (limited to 'paramiko/sftp_handle.py')
-rw-r--r--paramiko/sftp_handle.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/paramiko/sftp_handle.py b/paramiko/sftp_handle.py
index 79c0045c..92dd9cfe 100644
--- a/paramiko/sftp_handle.py
+++ b/paramiko/sftp_handle.py
@@ -21,9 +21,7 @@ Abstraction of an SFTP file handle (for server mode).
"""
import os
-
-from paramiko.common import *
-from paramiko.sftp import *
+from paramiko.sftp import SFTP_OP_UNSUPPORTED, SFTP_OK
class SFTPHandle (object):
@@ -46,7 +44,7 @@ class SFTPHandle (object):
self.__flags = flags
self.__name = None
# only for handles to folders:
- self.__files = { }
+ self.__files = {}
self.__tell = None
def close(self):
@@ -166,10 +164,8 @@ class SFTPHandle (object):
"""
return SFTP_OP_UNSUPPORTED
-
### internals...
-
def _set_files(self, files):
"""
Used by the SFTP server code to cache a directory listing. (In