diff --git a/paramiko/__init__.py b/paramiko/__init__.py index 64b2e0b..b1d9aaa 100644 --- a/paramiko/__init__.py +++ b/paramiko/__init__.py @@ -56,11 +56,11 @@ from paramiko.config import SSHConfig from paramiko.proxy import ProxyCommand from paramiko.common import AUTH_SUCCESSFUL, AUTH_PARTIALLY_SUCCESSFUL, AUTH_FAILED, \ - OPEN_SUCCEEDED, OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, OPEN_FAILED_CONNECT_FAILED, \ - OPEN_FAILED_UNKNOWN_CHANNEL_TYPE, OPEN_FAILED_RESOURCE_SHORTAGE + OPEN_SUCCEEDED, OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED, OPEN_FAILED_CONNECT_FAILED, \ + OPEN_FAILED_UNKNOWN_CHANNEL_TYPE, OPEN_FAILED_RESOURCE_SHORTAGE from paramiko.sftp import SFTP_OK, SFTP_EOF, SFTP_NO_SUCH_FILE, SFTP_PERMISSION_DENIED, SFTP_FAILURE, \ - SFTP_BAD_MESSAGE, SFTP_NO_CONNECTION, SFTP_CONNECTION_LOST, SFTP_OP_UNSUPPORTED + SFTP_BAD_MESSAGE, SFTP_NO_CONNECTION, SFTP_CONNECTION_LOST, SFTP_OP_UNSUPPORTED from paramiko.common import io_sleep diff --git a/paramiko/_winapi.py b/paramiko/_winapi.py index 1be117c..7d95d7b 100644 --- a/paramiko/_winapi.py +++ b/paramiko/_winapi.py @@ -15,9 +15,9 @@ except ImportError: import __builtin__ as builtins try: - USHORT = ctypes.wintypes.USHORT + USHORT = ctypes.wintypes.USHORT except AttributeError: - USHORT = ctypes.c_ushort + USHORT = ctypes.c_ushort ###################### # jaraco.windows.error