Werk #3371: Be compatible to old site=None setting read from hosts.mk

Komponente Setup
Titel Be compatible to old site=None setting read from hosts.mk
Datum 06.04.2016
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
1.4.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8b10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Old WATO versions saved the site attribute with a value of None which is not allowed in current WATO versions. Either the key has to be missing when no specific site is configured or the key has to be missing. Cleaned this up.

Fixed exception: TypeError (cannot concatenate 'str' and 'NoneType' objects)

Zur Liste aller Werks