Module: check_mk
Branch: master
Commit: db37bb0e8c8261d95fd60ee23eb636bee974f000
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=db37bb0e8c8261…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Dec 14 14:51:02 2018 +0100
Don't rebuild constant dictionaries over and over again.
Remember: A dictionary literal is actually a bunch of code, evaluating all
keys and values!
Change-Id: I8c437d4b4c47e660c31a9af80859abf3a1791b98
---
cmk/gui/werks.py | 77 ++++++++++++-----------------
cmk/utils/werks.py | 141 ++++++++++++++++++++++++++++++-----------------------
2 files changed, 112 insertions(+), 106 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=db37bb0e8c…