Skip to content

Commit

Permalink
GlobalTag.py: sort the additional payloads
Browse files Browse the repository at this point in the history
Sort the additional payloads from release-level or user-level customisations to the global tags,
to ensure a consistent hash of the process configuration.
  • Loading branch information
fwyzard committed Jul 21, 2014
1 parent f29cb84 commit 8ea227a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/AlCa/python/GlobalTag.py
Expand Up @@ -118,7 +118,7 @@ def GlobalTag(essource = None, globaltag = None, conditions = None):

# explicit payloads toGet from DB
if custom_conditions:
for ( (record, label), (tag, connection) ) in custom_conditions.iteritems():
for ( (record, label), (tag, connection) ) in sorted(custom_conditions.iteritems()):
payload = cms.PSet()
payload.record = cms.string( record )
if label:
Expand Down

0 comments on commit 8ea227a

Please sign in to comment.