Show More
@@ -56,12 +56,14 b' class RhodecodeEvent(object):' | |||||
56 | @property |
|
56 | @property | |
57 | def actor(self): |
|
57 | def actor(self): | |
58 | auth_user = self.auth_user |
|
58 | auth_user = self.auth_user | |
|
59 | ||||
59 | if auth_user: |
|
60 | if auth_user: | |
60 | instance = auth_user.get_instance() |
|
61 | instance = auth_user.get_instance() | |
61 | if not instance: |
|
62 | if not instance: | |
62 | return AttributeDict(dict( |
|
63 | return AttributeDict(dict( | |
63 | username=auth_user.username |
|
64 | username=auth_user.username | |
64 | )) |
|
65 | )) | |
|
66 | return instance | |||
65 |
|
67 | |||
66 | return SYSTEM_USER |
|
68 | return SYSTEM_USER | |
67 |
|
69 |
General Comments 0
You need to be logged in to leave comments.
Login now