From 224f6e474767103a596dfdcd9ce10c76990486a0 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Sun, 7 Nov 2004 02:28:33 +0000 Subject: [PATCH] [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-104] fix location of SFTPError fix location of SFTPError. --- paramiko/__init__.py | 2 +- paramiko/sftp_client.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/paramiko/__init__.py b/paramiko/__init__.py index d497895..772047a 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 4add179..7535711 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