From 9b2d3e0f5686ceba97c54af7408eabc9cebdd73c Mon Sep 17 00:00:00 2001 From: Serhii Ilin Date: Thu, 21 Nov 2024 14:57:09 +0200 Subject: [PATCH] fixed import --- rhodecode/model/comment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rhodecode/model/comment.py b/rhodecode/model/comment.py index 15c77d50..f65197d2 100644 --- a/rhodecode/model/comment.py +++ b/rhodecode/model/comment.py @@ -25,12 +25,13 @@ import logging import traceback import collections -from pyramid.threadlocal import get_current_registry, get_current_request +from pyramid.threadlocal import get_current_registry from sqlalchemy.sql.expression import null from sqlalchemy.sql.functions import coalesce from rhodecode.lib import helpers as h, diffs, channelstream, hooks_utils from rhodecode.lib import audit_logger +from rhodecode.lib.pyramid_utils import get_current_request from rhodecode.lib.exceptions import CommentVersionMismatch from rhodecode.lib.utils2 import extract_mentioned_users, safe_str, safe_int from rhodecode.model import BaseModel