Skip to content

Commit

Permalink
Merge pull request #27849 from Dr15Jones/python3GobalTag
Browse files Browse the repository at this point in the history
python 3 fix for GlobalTag.py
  • Loading branch information
cmsbuild authored Aug 27, 2019
2 parents d7db7da + b4c770e commit 2c0f2ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration/AlCa/python/GlobalTag.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def GlobalTag(essource = None, globaltag = None, conditions = None):
for entry in autoKey[1:]:
entry = entry.split(',')
record = entry[1]
label = len(entry) > 3 and entry[3] or None
label = len(entry) > 3 and entry[3] or ""
tag = entry[0]
connection = len(entry) > 2 and entry[2] or None
snapshotTime = len(entry) > 4 and entry[4] or None
Expand Down Expand Up @@ -111,7 +111,7 @@ def GlobalTag(essource = None, globaltag = None, conditions = None):
for entry in conditions.split('+'):
entry = entry.split(',')
record = entry[1]
label = len(entry) > 3 and entry[3] or None
label = len(entry) > 3 and entry[3] or ""
tag = entry[0]
connection = len(entry) > 2 and entry[2] or None
snapshotTime = len(entry) > 4 and entry[4] or None
Expand Down

0 comments on commit 2c0f2ab

Please sign in to comment.