Skip to content

Commit

Permalink
Merge pull request #23911 from davidlange6/printMig_180721T4_CondCore…
Browse files Browse the repository at this point in the history
…_DBCommon

Print function migration for CondCore_DBCommon
  • Loading branch information
cmsbuild committed Jul 22, 2018
2 parents 3e41735 + 97a715d commit e9dd622
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions CondCore/DBCommon/python/CondDBCommon_cfi.py
@@ -1,7 +1,8 @@
print " ##################################################################### "
print " # WARNING: the module CondCore.DBCommon.CondDBCommon is deprecated. # "
print " # Please import CondCore.CondDB.CondDB_cfi # "
print " ##################################################################### "
from __future__ import print_function
print(" ##################################################################### ")
print(" # WARNING: the module CondCore.DBCommon.CondDBCommon is deprecated. # ")
print(" # Please import CondCore.CondDB.CondDB_cfi # ")
print(" ##################################################################### ")

from CondCore.CondDB.CondDB_cfi import *
CondDBCommon = CondDB.clone()
Expand Down
9 changes: 5 additions & 4 deletions CondCore/DBCommon/python/CondDBSetup_cfi.py
@@ -1,7 +1,8 @@
print " ##################################################################### "
print " # WARNING: the module CondCore.DBCommon.CondDBSetup is deprecated. # "
print " # Please import CondCore.CondDB.CondDB_cfi # "
print " ##################################################################### "
from __future__ import print_function
print(" ##################################################################### ")
print(" # WARNING: the module CondCore.DBCommon.CondDBSetup is deprecated. # ")
print(" # Please import CondCore.CondDB.CondDB_cfi # ")
print(" ##################################################################### ")

from CondCore.CondDB.CondDB_cfi import *
CondDBSetup = CondDB.clone()
Expand Down

0 comments on commit e9dd622

Please sign in to comment.