Add compat file for Py26 OrderedDict.
This commit is contained in:
parent
a48995f875
commit
c5487a4464
5 changed files with 9 additions and 21 deletions
5
moto/compat.py
Normal file
5
moto/compat.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue