Skip to content

Commit

Permalink
Merge pull request #27805 from davidlange6/py3_190820
Browse files Browse the repository at this point in the history
python3 compatibility change in autoCondPhase2.py
  • Loading branch information
cmsbuild authored Aug 22, 2019
2 parents bf45138 + 788ecb7 commit 38b00fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configuration/AlCa/python/autoCondPhase2.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import six
from Configuration.StandardSequences.CondDBESSource_cff import GlobalTag as essource
connectionString = essource.connect.value()

Expand Down Expand Up @@ -71,7 +72,7 @@

# method called in autoAlCa
def autoCondPhase2(autoCond):
for key,val in phase2GTs.iteritems():
for key,val in six.iteritems(phase2GTs):
if len(val)==1 :
autoCond[key] = ( autoCond[val[0]] )
else:
Expand Down

0 comments on commit 38b00fb

Please sign in to comment.