Add compat file for Py26 OrderedDict.

This commit is contained in:
Steve Pulec 2014-11-29 22:43:30 -05:00
commit c5487a4464
5 changed files with 9 additions and 21 deletions

5
moto/compat.py Normal file
View file

@ -0,0 +1,5 @@
try:
from collections import OrderedDict # flake8: noqa
except ImportError:
# python 2.6 or earlier, use backport
from ordereddict import OrderedDict # flake8: noqa