Changeset - 1d7a621d396f
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-10-07 22:50:20
marcin@python-works.com
fixed action logger
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/utils.py
Show inline comments
 
@@ -112,7 +112,7 @@ def action_logger(user, action, repo, ip
 
        if hasattr(user, 'user_id'):
 
            user_obj = user
 
        elif isinstance(user, basestring):
 
            user_obj = User.by_username(user, cache=False)
 
            user_obj = User.by_username(user)
 
        else:
 
            raise Exception('You have to provide user object or username')
 

	
0 comments (0 inline, 0 general)