From 3bad2a13bec9447bce545a398d7a0afd2ccd3cea Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Tue, 13 Aug 2013 17:30:06 -0400 Subject: [PATCH] [Python 3]: Fix for builtins using six. --- paramiko/_winapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paramiko/_winapi.py b/paramiko/_winapi.py index f141b00..ab90c4a 100644 --- a/paramiko/_winapi.py +++ b/paramiko/_winapi.py @@ -8,7 +8,7 @@ in jaraco.windows and asking the author to port the fixes back here. import ctypes import ctypes.wintypes -import __builtin__ +from six.moves import builtins ###################### # jaraco.windows.error @@ -53,7 +53,7 @@ def format_system_message(errno): return message -class WindowsError(__builtin__.WindowsError): +class WindowsError(builtins.WindowsError): "more info about errors at http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx" def __init__(self, value=None):