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 2015/05/20 13:14:12 UTC

[09/14] allura git commit: [#7878] ticket:771 Use bytes for function name in exceptionless decorator

[#7878] ticket:771 Use bytes for function name in exceptionless decorator


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

Branch: refs/heads/ib/7878
Commit: 9a1281746d7aeb4f67720627978277c55c8cfab9
Parents: 9b6e0b5
Author: Igor Bondarenko <je...@gmail.com>
Authored: Tue May 19 10:31:09 2015 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Tue May 19 10:31:09 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/allura/blob/9a128174/Allura/allura/lib/helpers.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/helpers.py b/Allura/allura/lib/helpers.py
index 14eea82..206bc62 100644
--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -998,7 +998,7 @@ class exceptionless(object):
         self.log = log
 
     def __call__(self, fun):
-        fname = 'exceptionless(%s)' % fun.__name__
+        fname = b'exceptionless(%s)' % fun.__name__
 
         def inner(*args, **kwargs):
             try: