##// END OF EJS Templates
imports: Remove unused imports.
Martin Bornhold -
r850:775a48ff default
parent child Browse files
Show More
@@ -28,10 +28,9 b' import logging'
28
28
29 import formencode
29 import formencode
30 import peppercorn
30 import peppercorn
31 from formencode import htmlfill
32
31
33 from pylons import request, response, tmpl_context as c, url
32 from pylons import request, response, tmpl_context as c, url
34 from pylons.controllers.util import abort, redirect
33 from pylons.controllers.util import redirect
35 from pylons.i18n.translation import _
34 from pylons.i18n.translation import _
36 from webob.exc import HTTPNotFound, HTTPForbidden
35 from webob.exc import HTTPNotFound, HTTPForbidden
37 from sqlalchemy.sql.expression import or_
36 from sqlalchemy.sql.expression import or_
@@ -45,7 +44,7 b' from rhodecode.lib import helpers as h'
45 from rhodecode.lib.base import BaseController, render
44 from rhodecode.lib.base import BaseController, render
46 from rhodecode.lib.auth import LoginRequired, NotAnonymous
45 from rhodecode.lib.auth import LoginRequired, NotAnonymous
47 from rhodecode.lib.utils import jsonify
46 from rhodecode.lib.utils import jsonify
48 from rhodecode.lib.utils2 import safe_str, safe_int, time_to_datetime
47 from rhodecode.lib.utils2 import time_to_datetime
49 from rhodecode.lib.ext_json import json
48 from rhodecode.lib.ext_json import json
50 from rhodecode.lib.vcs.exceptions import VCSError, NodeNotChangedError
49 from rhodecode.lib.vcs.exceptions import VCSError, NodeNotChangedError
51 from rhodecode.model import validation_schema
50 from rhodecode.model import validation_schema
@@ -23,7 +23,7 b' import os'
23 import colander
23 import colander
24
24
25 from rhodecode.translation import _
25 from rhodecode.translation import _
26 from rhodecode.model.validation_schema import validators, preparers
26 from rhodecode.model.validation_schema import preparers
27
27
28
28
29 def nodes_to_sequence(nodes, colander_node=None):
29 def nodes_to_sequence(nodes, colander_node=None):
@@ -181,5 +181,3 b' class GistSchema(colander.MappingSchema)'
181 validator=colander.OneOf([Gist.GIST_PRIVATE, Gist.GIST_PUBLIC]))
181 validator=colander.OneOf([Gist.GIST_PRIVATE, Gist.GIST_PUBLIC]))
182
182
183 nodes = Nodes()
183 nodes = Nodes()
184
185
General Comments 0
You need to be logged in to leave comments. Login now