Module: check_mk
Branch: master
Commit: a9c50c8576c93ba2cd39692f5e27609c35961ec0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a9c50c8576c93b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 24 14:14:28 2012 +0100
Fixed shortly introduced problem during reading saved roles
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 1795a19..5f81ce4 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -7474,7 +7474,7 @@ def load_roles():
try:
vars = { "roles" : roles }
- exec(filename, vars, vars)
+ execfile(filename, vars, vars)
# Reflect the data in the roles dict kept in the config module Needed
# for instant changes in current page while saving modified roles.
# Otherwise the hooks would work with old data when using helper