ordereddict fix for python 2.6
This commit is contained in:
parent
2829c326ef
commit
5343a81dc8
2 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,10 @@
|
|||
``edbob.pyramid.grids`` -- Grid Tables
|
||||
"""
|
||||
|
||||
from collections import OrderedDict
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
from ordereddict import OrderedDict
|
||||
|
||||
from sqlalchemy.orm import Query
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue