##// END OF EJS Templates
cleanup: imports cleanup.
marcink -
r1796:b0e7443a default
parent child Browse files
Show More
@@ -39,12 +39,12 b' from rhodecode.lib.auth import ('
39 39 LoginRequired, NotAnonymous, HasPermissionAll,
40 40 HasRepoGroupPermissionAll, HasRepoGroupPermissionAnyDecorator)
41 41 from rhodecode.lib.base import BaseController, render
42 from rhodecode.lib.utils2 import safe_int
42 43 from rhodecode.model.db import RepoGroup, User
43 44 from rhodecode.model.scm import RepoGroupList
44 45 from rhodecode.model.repo_group import RepoGroupModel
45 46 from rhodecode.model.forms import RepoGroupForm, RepoGroupPermsForm
46 47 from rhodecode.model.meta import Session
47 from rhodecode.lib.utils2 import safe_int
48 48
49 49
50 50 log = logging.getLogger(__name__)
@@ -41,15 +41,11 b' from rhodecode.lib.auth import ('
41 41 HasRepoGroupPermissionAny, HasRepoPermissionAnyDecorator)
42 42 from rhodecode.lib.base import BaseRepoController, render
43 43 from rhodecode.lib.ext_json import json
44 from rhodecode.lib.exceptions import AttachedForksError
45 from rhodecode.lib.utils import action_logger, repo_name_slug, jsonify
44 from rhodecode.lib.utils import repo_name_slug, jsonify
46 45 from rhodecode.lib.utils2 import safe_int, str2bool
47 from rhodecode.lib.vcs import RepositoryError
48 from rhodecode.model.db import (
49 User, Repository, UserFollowing, RepoGroup, RepositoryField)
46 from rhodecode.model.db import (Repository, RepoGroup, RepositoryField)
50 47 from rhodecode.model.forms import (
51 RepoForm, RepoFieldForm, RepoPermsForm, RepoVcsSettingsForm,
52 IssueTrackerPatternsForm)
48 RepoForm, RepoFieldForm, RepoVcsSettingsForm, IssueTrackerPatternsForm)
53 49 from rhodecode.model.meta import Session
54 50 from rhodecode.model.repo import RepoModel
55 51 from rhodecode.model.scm import ScmModel, RepoGroupList, RepoList
@@ -35,6 +35,7 b' from sqlalchemy.orm import joinedload'
35 35
36 36 from rhodecode.lib import auth
37 37 from rhodecode.lib import helpers as h
38 from rhodecode.lib.ext_json import json
38 39 from rhodecode.lib.exceptions import UserGroupAssignedException,\
39 40 RepoGroupAssignmentError
40 41 from rhodecode.lib.utils import jsonify, action_logger
@@ -52,8 +53,7 b' from rhodecode.model.forms import ('
52 53 UserGroupForm, UserGroupPermsForm, UserIndividualPermissionsForm,
53 54 UserPermissionsForm)
54 55 from rhodecode.model.meta import Session
55 from rhodecode.lib.utils import action_logger
56 from rhodecode.lib.ext_json import json
56
57 57
58 58 log = logging.getLogger(__name__)
59 59
@@ -39,7 +39,7 b' from rhodecode.lib.base import BaseRepoC'
39 39 from rhodecode.lib.compat import OrderedDict
40 40 from rhodecode.lib.exceptions import StatusChangeOnClosedPullRequestError
41 41 import rhodecode.lib.helpers as h
42 from rhodecode.lib.utils import action_logger, jsonify
42 from rhodecode.lib.utils import jsonify
43 43 from rhodecode.lib.utils2 import safe_unicode
44 44 from rhodecode.lib.vcs.backends.base import EmptyCommit
45 45 from rhodecode.lib.vcs.exceptions import (
@@ -48,7 +48,6 b' from rhodecode.model.db import Changeset'
48 48 from rhodecode.model.changeset_status import ChangesetStatusModel
49 49 from rhodecode.model.comment import CommentsModel
50 50 from rhodecode.model.meta import Session
51 from rhodecode.model.repo import RepoModel
52 51
53 52
54 53 log = logging.getLogger(__name__)
General Comments 0
You need to be logged in to leave comments. Login now