Skip to content

Commit

Permalink
[master][noticket][controllers][xs]: Fix for group search failure - l…
Browse files Browse the repository at this point in the history
…ogging caused exception as it was not imported.
  • Loading branch information
David Read committed Jan 30, 2012
1 parent cb5bba7 commit c826b53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ckan/controllers/group.py
@@ -1,3 +1,4 @@
import logging
import genshi
import datetime
from urllib import urlencode
Expand All @@ -18,6 +19,7 @@
from ckan.lib.dictization.model_dictize import package_dictize
import ckan.forms

log = logging.getLogger(__name__)

# Mapping from group-type strings to IDatasetForm instances
_controller_behaviour_for = dict()
Expand Down
2 changes: 1 addition & 1 deletion ckan/controllers/package.py
Expand Up @@ -30,7 +30,7 @@
import ckan.rating
import ckan.misc

log = logging.getLogger('ckan.controllers')
log = logging.getLogger(__name__)

def search_url(params):
url = h.url_for(controller='package', action='search')
Expand Down

0 comments on commit c826b53

Please sign in to comment.