Skip to content
Snippets Groups Projects
Commit 1a5f2bf9 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'CA.printPropertyFix' into 'master'

CA printProperties: Adjust empty-list check

See merge request atlas/athena!33137
parents 17ac82c0 4f42672a
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!33137CA printProperties: Adjust empty-list check
...@@ -9,7 +9,7 @@ from AthenaConfiguration.ComponentFactory import CompFactory ...@@ -9,7 +9,7 @@ from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaCommon.Debugging import DbgStage from AthenaCommon.Debugging import DbgStage
import GaudiKernel.GaudiHandles as GaudiHandles import GaudiKernel.GaudiHandles as GaudiHandles
import GaudiConfig2
from AthenaConfiguration.Deduplication import deduplicate, DeduplicationFailed from AthenaConfiguration.Deduplication import deduplicate, DeduplicationFailed
import collections import collections
...@@ -34,7 +34,7 @@ def printProperties(msg, c, nestLevel = 0): ...@@ -34,7 +34,7 @@ def printProperties(msg, c, nestLevel = 0):
continue continue
propval=getattr(c,propname) propval=getattr(c,propname)
# Ignore empty lists # Ignore empty lists
if propval==[]: if isinstance(propval,GaudiConfig2.semantics._ListHelper) and propval.data is None:
continue continue
# Printing EvtStore could be relevant for Views? # Printing EvtStore could be relevant for Views?
if propname in ["DetStore","EvtStore"]: if propname in ["DetStore","EvtStore"]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment