You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2014/10/02 15:06:37 UTC

git commit: [#7676] ticket:663 Return AuditLog from helper

Repository: allura
Updated Branches:
  refs/heads/je/42cc_7676 [created] 5536ebee4


[#7676] ticket:663 Return AuditLog from helper


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/5536ebee
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/5536ebee
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/5536ebee

Branch: refs/heads/je/42cc_7676
Commit: 5536ebee4287ee72affd605d47570738990aceea
Parents: 3a09c56
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Oct 2 11:57:25 2014 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Thu Oct 2 11:57:25 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/5536ebee/Allura/allura/lib/helpers.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/helpers.py b/Allura/allura/lib/helpers.py
index 166146b..981534c 100644
--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -1210,5 +1210,5 @@ def auditlog_user(message, *args, **kwargs):
     message = 'IP Address: {}\n'.format(ip_address) + message
     if kwargs.get('user') and kwargs['user'] != c.user:
         message = 'Done by user: {}\n'.format(c.user.username) + message
-    M.AuditLog.log_user(message, *args, **kwargs)
+    return M.AuditLog.log_user(message, *args, **kwargs)