Module: check_mk
Branch: master
Commit: 745385c98ea898946408b6bb96c11fbfb0aa05f0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=745385c98ea898…
Author: Roland Halbig <rh(a)mathias-kettner.de>
Date: Fri Oct 14 15:53:46 2016 +0200
Removed testing try-catch-block in htmllib
---
web/htdocs/htmllib.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index dd21200..42faf9a 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -75,12 +75,7 @@ from lib import MKUserError
# TODO: REMOVE (JUST FOR TESTING)
__builtin__._ = lambda x: x
-try:
- import config
-except:
- os.environ["OMD_SITE"] = "OMD"
- import config
-
+import config