fix(imports): fixed circular import problem
This commit is contained in:
parent
e0b1f9c055
commit
684e1aaeeb
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue