fix(imports): fixed circular import problem

This commit is contained in:
RhodeCode Admin 2024-03-11 15:08:11 +01:00
parent e0b1f9c055
commit 684e1aaeeb

View file

@ -22,7 +22,6 @@ import datetime
from zope.cachedescriptors.property import Lazy as LazyProperty
from rhodecode.lib.pyramid_utils import get_current_request
from rhodecode.lib.auth import AuthUser
from rhodecode.lib.utils2 import AttributeDict
@ -74,6 +73,8 @@ class RhodecodeEvent(object):
@property
def actor(self):
from rhodecode.lib.auth import AuthUser
# if an explicit actor is specified, use this
if self._actor:
return self._actor