allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject git commit: [#7676] ticket:663 Return AuditLog from helper
Date Thu, 02 Oct 2014 13:06:37 GMT
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 <jetmind2@gmail.com>
Authored: Thu Oct 2 11:57:25 2014 +0000
Committer: Igor Bondarenko <jetmind2@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)
 


Mime
View raw message