##// END OF EJS Templates
fix: changed imports.
ilin.s -
r5662:4a94840e tip default
parent child Browse files
Show More
@@ -51,7 +51,6 from pygments.formatters.html import Htm
51 from pygments.lexers import (
51 from pygments.lexers import (
52 get_lexer_by_name, get_lexer_for_filename, get_lexer_for_mimetype)
52 get_lexer_by_name, get_lexer_for_filename, get_lexer_for_mimetype)
53
53
54 from pyramid.threadlocal import get_current_request
55 from tempita import looper
54 from tempita import looper
56 from webhelpers2.html import literal, HTML, escape
55 from webhelpers2.html import literal, HTML, escape
57 from webhelpers2.html._autolink import _auto_link_urls
56 from webhelpers2.html._autolink import _auto_link_urls
@@ -89,6 +88,7 from rhodecode.lib.utils2 import (
89 str2bool,
88 str2bool,
90 get_commit_safe, datetime_to_time, time_to_datetime, time_to_utcdatetime,
89 get_commit_safe, datetime_to_time, time_to_datetime, time_to_utcdatetime,
91 AttributeDict, safe_int, md5, md5_safe, get_host_info)
90 AttributeDict, safe_int, md5, md5_safe, get_host_info)
91 from rhodecode.lib.pyramid_utils import get_current_request
92 from rhodecode.lib.markup_renderer import MarkupRenderer, relative_links
92 from rhodecode.lib.markup_renderer import MarkupRenderer, relative_links
93 from rhodecode.lib.vcs.exceptions import CommitDoesNotExistError
93 from rhodecode.lib.vcs.exceptions import CommitDoesNotExistError
94 from rhodecode.lib.vcs.backends.base import BaseChangeset, EmptyCommit
94 from rhodecode.lib.vcs.backends.base import BaseChangeset, EmptyCommit
@@ -25,11 +25,11 import logging
25 import traceback
25 import traceback
26
26
27 import premailer
27 import premailer
28 from pyramid.threadlocal import get_current_request
29 from sqlalchemy.sql.expression import false, true
28 from sqlalchemy.sql.expression import false, true
30
29
31 import rhodecode
30 import rhodecode
32 from rhodecode.lib import helpers as h
31 from rhodecode.lib import helpers as h
32 from rhodecode.lib.pyramid_utils import get_current_request
33 from rhodecode.model import BaseModel
33 from rhodecode.model import BaseModel
34 from rhodecode.model.db import Notification, User, UserNotification
34 from rhodecode.model.db import Notification, User, UserNotification
35 from rhodecode.model.meta import Session
35 from rhodecode.model.meta import Session
General Comments 0
You need to be logged in to leave comments. Login now