##// END OF EJS Templates
integrations: remove usage of template context from integrations models
marcink -
r1320:ffa9596d default
parent child Browse files
Show More
@@ -25,24 +25,15 b' Model for integrations'
25
25
26
26
27 import logging
27 import logging
28 import traceback
29
28
30 from pylons import tmpl_context as c
31 from pylons.i18n.translation import _, ungettext
32 from sqlalchemy import or_, and_
29 from sqlalchemy import or_, and_
33 from sqlalchemy.sql.expression import false, true
34 from mako import exceptions
35
30
36 import rhodecode
31 import rhodecode
37 from rhodecode import events
32 from rhodecode import events
38 from rhodecode.lib import helpers as h
39 from rhodecode.lib.caching_query import FromCache
33 from rhodecode.lib.caching_query import FromCache
40 from rhodecode.lib.utils import PartialRenderer
41 from rhodecode.model import BaseModel
34 from rhodecode.model import BaseModel
42 from rhodecode.model.db import Integration, User, Repository, RepoGroup
35 from rhodecode.model.db import Integration, Repository, RepoGroup
43 from rhodecode.model.meta import Session
44 from rhodecode.integrations import integration_type_registry
36 from rhodecode.integrations import integration_type_registry
45 from rhodecode.integrations.types.base import IntegrationTypeBase
46
37
47 log = logging.getLogger(__name__)
38 log = logging.getLogger(__name__)
48
39
General Comments 0
You need to be logged in to leave comments. Login now