Commit 7b649300 authored by David Read's avatar David Read
Browse files

OrderedDict has been moved in core ckan, so just import it explicitly.

parent edbb0d04
......@@ -8,9 +8,12 @@ import itertools
import ckan.plugins as p
from pylons import config
try:
from collections import OrderedDict # from python 2.7
except ImportError:
from sqlalchemy.util import OrderedDict
from ckan.lib.cli import CkanCommand
from ckan.lib.helpers import OrderedDict
REQUESTS_HEADER = {'content-type': 'application/json'}
......
import copy
try:
from collections import OrderedDict # from python 2.7
except ImportError:
from sqlalchemy.util import OrderedDict
import ckan.model as model
import ckan.plugins as p
from ckan.lib.helpers import OrderedDict
from ckanext.report import lib
def broken_links(organization, include_sub_organizations=False):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment