##// END OF EJS Templates
apps: cleanup imports
marcink -
r2080:1eba6b1f default
parent child Browse files
Show More
@@ -25,7 +25,7 b' import formencode'
25 25 import formencode.htmlfill
26 26 import peppercorn
27 27
28 from pyramid.httpexceptions import HTTPNotFound, HTTPForbidden, HTTPFound
28 from pyramid.httpexceptions import HTTPNotFound, HTTPFound
29 29 from pyramid.view import view_config
30 30 from pyramid.renderers import render
31 31 from pyramid.response import Response
@@ -25,8 +25,8 b' from pyramid.view import view_config'
25 25
26 26 from rhodecode.apps._base import BaseAppView
27 27 from rhodecode.lib import helpers as h
28 from rhodecode.lib.auth import LoginRequired, NotAnonymous, \
29 HasRepoGroupPermissionAnyDecorator
28 from rhodecode.lib.auth import (
29 LoginRequired, NotAnonymous, HasRepoGroupPermissionAnyDecorator)
30 30 from rhodecode.lib.index import searcher_from_config
31 31 from rhodecode.lib.utils2 import safe_unicode, str2bool
32 32 from rhodecode.lib.ext_json import json
@@ -22,6 +22,7 b' import time'
22 22 import collections
23 23 import datetime
24 24 import formencode
25 import formencode.htmlfill
25 26 import logging
26 27 import urlparse
27 28
@@ -22,6 +22,7 b' import logging'
22 22 import datetime
23 23
24 24 import formencode
25 import formencode.htmlfill
25 26 from pyramid.httpexceptions import HTTPFound
26 27 from pyramid.view import view_config
27 28 from pyramid.renderers import render
@@ -33,8 +34,8 b' from rhodecode.lib import helpers as h'
33 34 from rhodecode.lib import audit_logger
34 35 from rhodecode.lib.ext_json import json
35 36 from rhodecode.lib.auth import LoginRequired, NotAnonymous, CSRFRequired
36 from rhodecode.lib.channelstream import channelstream_request, \
37 ChannelstreamException
37 from rhodecode.lib.channelstream import (
38 channelstream_request, ChannelstreamException)
38 39 from rhodecode.lib.utils2 import safe_int, md5, str2bool
39 40 from rhodecode.model.auth_token import AuthTokenModel
40 41 from rhodecode.model.comment import CommentsModel
@@ -24,8 +24,8 b' from pyramid.httpexceptions import HTTPF'
24 24 from pyramid.view import view_config
25 25
26 26 from rhodecode.apps._base import RepoAppView
27 from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator, \
28 CSRFRequired
27 from rhodecode.lib.auth import (
28 LoginRequired, HasRepoPermissionAnyDecorator, CSRFRequired)
29 29 from rhodecode.lib import helpers as h
30 30 from rhodecode.model.meta import Session
31 31 from rhodecode.model.scm import ScmModel
@@ -26,7 +26,6 b' from pyramid.view import view_config'
26 26 from pyramid.renderers import render
27 27 from pyramid.response import Response
28 28
29
30 29 from rhodecode.apps._base import RepoAppView
31 30 from rhodecode.controllers.utils import parse_path_ref, get_commit_from_ref_name
32 31 from rhodecode.lib import helpers as h
@@ -21,19 +21,19 b''
21 21 import logging
22 22 import datetime
23 23 import formencode
24 from pyramid.httpexceptions import HTTPNotFound, HTTPBadRequest, HTTPFound
24 import formencode.htmlfill
25
26 from pyramid.httpexceptions import HTTPFound
25 27 from pyramid.view import view_config
26 28 from pyramid.renderers import render
27 29 from pyramid.response import Response
28 30
29 31 from rhodecode.apps._base import RepoAppView, DataGridAppView
30
31 32 from rhodecode.lib.auth import (
32 33 LoginRequired, HasRepoPermissionAnyDecorator, NotAnonymous,
33 34 HasRepoPermissionAny, HasPermissionAnyDecorator, CSRFRequired)
34 35 import rhodecode.lib.helpers as h
35 from rhodecode.model.db import (
36 coalesce, or_, Repository, RepoGroup, UserFollowing, User)
36 from rhodecode.model.db import coalesce, or_, Repository, RepoGroup
37 37 from rhodecode.model.repo import RepoModel
38 38 from rhodecode.model.forms import RepoForkForm
39 39 from rhodecode.model.scm import ScmModel, RepoGroupList
@@ -22,6 +22,7 b' import logging'
22 22 import collections
23 23
24 24 import formencode
25 import formencode.htmlfill
25 26 import peppercorn
26 27 from pyramid.httpexceptions import (
27 28 HTTPFound, HTTPNotFound, HTTPForbidden, HTTPBadRequest)
@@ -21,6 +21,7 b''
21 21 import logging
22 22
23 23 import formencode
24 import formencode.htmlfill
24 25
25 26 from pyramid.httpexceptions import HTTPFound
26 27 from pyramid.view import view_config
@@ -21,6 +21,7 b''
21 21 import logging
22 22
23 23 import formencode
24 import formencode.htmlfill
24 25 from pyramid.httpexceptions import HTTPFound, HTTPBadRequest
25 26 from pyramid.response import Response
26 27 from pyramid.renderers import render
@@ -26,7 +26,7 b' from webhelpers.util import update_param'
26 26 from rhodecode.apps._base import BaseAppView, RepoAppView
27 27 from rhodecode.lib.auth import (LoginRequired, HasRepoPermissionAnyDecorator)
28 28 from rhodecode.lib.helpers import Page
29 from rhodecode.lib.utils2 import safe_str, safe_int
29 from rhodecode.lib.utils2 import safe_str
30 30 from rhodecode.lib.index import searcher_from_config
31 31 from rhodecode.model import validation_schema
32 32 from rhodecode.model.validation_schema.schemas import search_schema
General Comments 0
You need to be logged in to leave comments. Login now