[checkmk-commits] Check_MK Git: check_mk: Fixed dynamic values of default user profile options

git version control git at mathias-kettner.de
Wed Nov 21 14:35:05 CET 2012


Module: check_mk
Branch: master
Commit: 1f3b77cb81692a15f5d892e75808e81bca1b2829
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1f3b77cb81692a15f5d892e75808e81bca1b2829

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Mon Nov 12 15:41:23 2012 +0100

Fixed dynamic values of default user profile options

---

 web/plugins/wato/check_mk_configuration.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/plugins/wato/check_mk_configuration.py b/web/plugins/wato/check_mk_configuration.py
index f7708ed..f7c12c0 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -430,13 +430,13 @@ register_configvar(group,
                 title = _('User Roles'),
                 help  = _('Specify the initial roles of an automatically created user.'),
                 default_value = [ 'user' ],
-                choices = list_roles(),
+                choices = list_roles,
             )),
             ('contactgroups', ListChoice(
                 title = _('Contact groups'),
                 help  = _('Specify the initial contact groups of an automatically created user.'),
                 default_value = [],
-                choices = list_contactgroups(),
+                choices = list_contactgroups,
             )),
         ],
         optional_keys = [],



More information about the checkmk-commits mailing list