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