Do not use __builtin__ in python3

__builtin__ does not exist in Python 3, use
six.moves.builtins instead.

Change-Id: I39cee402b58f98690851c45990f9bbfbebbd95d7
Patially-Implements: blueprint magnum-python3
closes-bug: #1290234
This commit is contained in:
Shuquan Huang 2015-12-30 21:45:52 +08:00
parent 674e63b853
commit 2f42f5ddda

View File

@ -17,7 +17,6 @@ Copyright 2015 SmartBear Software
"""
from __future__ import absolute_import
import __builtin__
from . import models
from .rest import RESTClient
from .rest import ApiException
@ -35,6 +34,7 @@ from datetime import date
# python 2 and python 3 compatibility library
from six import iteritems
import six.moves.builtins as __builtin__
from six.moves.urllib import parse as urlparse
from .configuration import Configuration