Don't use ORderedDict backport on python 3

This commit is contained in:
Luke Campagnola 2017-10-11 09:05:32 -07:00
parent 30997d999d
commit d32454ebb8

View File

@ -20,9 +20,13 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
from UserDict import DictMixin
import sys
if sys.version[0] > '2':
from collections import OrderedDict
else:
from UserDict import DictMixin
class OrderedDict(dict, DictMixin):
class OrderedDict(dict, DictMixin):
def __init__(self, *args, **kwds):
if len(args) > 1: