integrations: remove usage of template context from integrations models
This commit is contained in:
parent
c7d0aff98a
commit
266f9e7ec4
1 changed files with 1 additions and 10 deletions
|
|
@ -25,24 +25,15 @@ Model for integrations
|
|||
|
||||
|
||||
import logging
|
||||
import traceback
|
||||
|
||||
from pylons import tmpl_context as c
|
||||
from pylons.i18n.translation import _, ungettext
|
||||
from sqlalchemy import or_, and_
|
||||
from sqlalchemy.sql.expression import false, true
|
||||
from mako import exceptions
|
||||
|
||||
import rhodecode
|
||||
from rhodecode import events
|
||||
from rhodecode.lib import helpers as h
|
||||
from rhodecode.lib.caching_query import FromCache
|
||||
from rhodecode.lib.utils import PartialRenderer
|
||||
from rhodecode.model import BaseModel
|
||||
from rhodecode.model.db import Integration, User, Repository, RepoGroup
|
||||
from rhodecode.model.meta import Session
|
||||
from rhodecode.model.db import Integration, Repository, RepoGroup
|
||||
from rhodecode.integrations import integration_type_registry
|
||||
from rhodecode.integrations.types.base import IntegrationTypeBase
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue