summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/__init__.py2
-rw-r--r--paramiko/sftp_client.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/paramiko/__init__.py b/paramiko/__init__.py
index d4978952..772047a4 100644
--- a/paramiko/__init__.py
+++ b/paramiko/__init__.py
@@ -79,7 +79,7 @@ Message = message.Message
PasswordRequiredException = ssh_exception.PasswordRequiredException
SFTP = sftp_client.SFTP
SFTPClient = sftp_client.SFTPClient
-SFTPError = sftp_client.SFTPError
+SFTPError = sftp.SFTPError
SFTPAttributes = sftp_attr.SFTPAttributes
ServerInterface = server.ServerInterface
SubsystemHandler = server.SubsystemHandler
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py
index 4add179e..75357112 100644
--- a/paramiko/sftp_client.py
+++ b/paramiko/sftp_client.py
@@ -393,6 +393,3 @@ class SFTPClient (BaseSFTP):
class SFTP (SFTPClient):
"an alias for L{SFTPClient} for backwards compatability"
pass
-
-class SFTPError (SFTPError):
- pass