Module: check_mk
Branch: master
Commit: 56643b35a79889dc37ea23139901316f626cf084
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=56643b35a79889…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Mar 20 11:58:10 2014 +0100
fixed syntax error in declare_custom_view_permissions
---
web/htdocs/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 95d9f34..fd104d9 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -311,7 +311,7 @@ def declare_custom_view_permissions():
config.declare_permission("view." + name,
view["title"],
view["description"],
['admin','user','guest'])
except:
- if opt_debug:
+ if config.debug:
raise
# Get the list of views which are available to the user