##// END OF EJS Templates
fix(imports): fixed circular import problem
super-admin -
r5341:115837d2 default
parent child Browse files
Show More
@@ -22,7 +22,6 b' import datetime'
22 from zope.cachedescriptors.property import Lazy as LazyProperty
22 from zope.cachedescriptors.property import Lazy as LazyProperty
23
23
24 from rhodecode.lib.pyramid_utils import get_current_request
24 from rhodecode.lib.pyramid_utils import get_current_request
25 from rhodecode.lib.auth import AuthUser
26 from rhodecode.lib.utils2 import AttributeDict
25 from rhodecode.lib.utils2 import AttributeDict
27
26
28
27
@@ -74,6 +73,8 b' class RhodecodeEvent(object):'
74
73
75 @property
74 @property
76 def actor(self):
75 def actor(self):
76 from rhodecode.lib.auth import AuthUser
77
77 # if an explicit actor is specified, use this
78 # if an explicit actor is specified, use this
78 if self._actor:
79 if self._actor:
79 return self._actor
80 return self._actor
General Comments 0
You need to be logged in to leave comments. Login now