Skip to content

TriggerConfigAccess.py: Fix trigger config key capitalisation

Fix wrong keys in dictionary access. Replace all tc["source"] -> tc["SOURCE"].

TrigConfigSvcCfg.py creates a dictionary where keys are written in all-caps, in particular "SOURCE". TriggerConfigAccess.py incorrectly tried to access it by "source" instead.

This is a spin-off from unrelated development where I tried to use TriggerConfigAccess and discovered this bug.

cc @stelzer , @mark

Merge request reports