[Python 3]: Fix for builtins using six.

This commit is contained in:
Dorian 2013-08-13 17:30:06 -04:00
parent 86fe372a2c
commit 3bad2a13be
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ in jaraco.windows and asking the author to port the fixes back here.
import ctypes import ctypes
import ctypes.wintypes import ctypes.wintypes
import __builtin__ from six.moves import builtins
###################### ######################
# jaraco.windows.error # jaraco.windows.error
@ -53,7 +53,7 @@ def format_system_message(errno):
return message 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" "more info about errors at http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx"
def __init__(self, value=None): def __init__(self, value=None):