Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
Fixed some import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
m431m committed Sep 5, 2017
1 parent dd05bdf commit d55a1b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ckanext/restricted/action.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
from ckan.lib.base import render_jinja2
from ckan.lib.mailer import mail_recipient
from ckan.lib.mailer import MailerException
import ckan.logic
from ckan.logic.action.create import user_create
from ckan.logic import side_effect_free, check_access
from ckan.logic.action.get import package_show, resource_show, resource_view_list, resource_search, package_search
import ckan.logic.auth as logic_auth
import ckan.authz as authz

from ckanext.restricted import helpers
from ckanext.restricted import logic
from ckanext.restricted import auth
Expand All @@ -18,6 +21,8 @@
from logging import getLogger
log = getLogger(__name__)

NotFound = ckan.logic.NotFound

_get_or_bust = ckan.logic.get_or_bust

def restricted_user_create_and_notify(context, data_dict):
Expand Down

0 comments on commit d55a1b7

Please sign in to comment.