Add compat file for Py26 OrderedDict.
This commit is contained in:
parent
a48995f875
commit
c5487a4464
5 changed files with 9 additions and 21 deletions
|
|
@ -3,13 +3,7 @@ from collections import defaultdict
|
|||
import datetime
|
||||
import json
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
# python 2.6 or earlier, use backport
|
||||
from ordereddict import OrderedDict
|
||||
|
||||
|
||||
from moto.compat import OrderedDict
|
||||
from moto.core import BaseBackend
|
||||
from .comparisons import get_comparison_func
|
||||
from .utils import unix_time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue