Skip to content

ComponentAccumulator.getXYZ: Return None if component not found

Walter Lampl requested to merge wlampl/athena:CAGettersNone into master

With this MR, calls like cfg.getService("InexistentSvc") return None instead of rising an exception. This should help determining if a to-be-modified service is actually present in a post-exec-like scenario. Same for other types of components.

CC @pavol who raised this use-case.

Merge request reports