Skip to content

Commit 97a715d

Browse files
committed
python print migration CondCore/DBCommon
1 parent 509583d commit 97a715d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

CondCore/DBCommon/python/CondDBCommon_cfi.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
print " ##################################################################### "
2-
print " # WARNING: the module CondCore.DBCommon.CondDBCommon is deprecated. # "
3-
print " # Please import CondCore.CondDB.CondDB_cfi # "
4-
print " ##################################################################### "
1+
from __future__ import print_function
2+
print(" ##################################################################### ")
3+
print(" # WARNING: the module CondCore.DBCommon.CondDBCommon is deprecated. # ")
4+
print(" # Please import CondCore.CondDB.CondDB_cfi # ")
5+
print(" ##################################################################### ")
56

67
from CondCore.CondDB.CondDB_cfi import *
78
CondDBCommon = CondDB.clone()

CondCore/DBCommon/python/CondDBSetup_cfi.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
print " ##################################################################### "
2-
print " # WARNING: the module CondCore.DBCommon.CondDBSetup is deprecated. # "
3-
print " # Please import CondCore.CondDB.CondDB_cfi # "
4-
print " ##################################################################### "
1+
from __future__ import print_function
2+
print(" ##################################################################### ")
3+
print(" # WARNING: the module CondCore.DBCommon.CondDBSetup is deprecated. # ")
4+
print(" # Please import CondCore.CondDB.CondDB_cfi # ")
5+
print(" ##################################################################### ")
56

67
from CondCore.CondDB.CondDB_cfi import *
78
CondDBSetup = CondDB.clone()

0 commit comments

Comments
 (0)