diff --git a/Control/AthenaConfiguration/python/ComponentAccumulator.py b/Control/AthenaConfiguration/python/ComponentAccumulator.py index af8b4ac838bfb28c4910ff813ff8c7f79d282f65..43c3ff73a8a2f034e2af4c1e424000596febeaa2 100644 --- a/Control/AthenaConfiguration/python/ComponentAccumulator.py +++ b/Control/AthenaConfiguration/python/ComponentAccumulator.py @@ -24,7 +24,12 @@ class ConfigurationError(RuntimeError): _servicesToCreate=frozenset(('GeoModelSvc','TileInfoLoader')) def printProperties(msg, c, nestLevel = 0): - for propname, propval in six.iteritems(c.getValuedProperties()): + # Iterate in sorted order. + props = c.getValuedProperties() + propnames = list(props.keys()) + propnames.sort() + for propname in propnames: + propval = props[propname] # Ignore empty lists if propval==[]: continue