Module: check_mk
Branch: master
Commit: b06827416bb071781498b1fa51f9d69dc675b95f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b06827416bb071…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 6 12:19:08 2014 +0100
Fixed SyntaxWarning in apache error log (used prior to global declaration)
---
web/htdocs/images/icon_ical.png | Bin 0 -> 4711 bytes
web/htdocs/userdb.py | 3 +--
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/web/htdocs/images/icon_ical.png b/web/htdocs/images/icon_ical.png
new file mode 100644
index 0000000..d3b8f47
Binary files /dev/null and b/web/htdocs/images/icon_ical.png differ
diff --git a/web/htdocs/userdb.py b/web/htdocs/userdb.py
index 9ab3306..753a357 100644
--- a/web/htdocs/userdb.py
+++ b/web/htdocs/userdb.py
@@ -40,6 +40,7 @@ builtin_user_attribute_names = []
def load_plugins():
global user_attributes
global multisite_user_connectors
+ global builtin_user_attribute_names
# Do not cache the custom user attributes. They can be created by the user
# during runtime, means they need to be loaded during each page request.
@@ -59,8 +60,6 @@ def load_plugins():
multisite_user_connectors = []
load_web_plugins("userdb", globals())
-
- global builtin_user_attribute_names
builtin_user_attribute_names = user_attributes.keys()
declare_custom_user_attrs()