[checkmk-commits] views/inventory.py: unify two paint functions