Skip to content

Commit

Permalink
Added usage of print function for python 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mteroerd committed Aug 7, 2019
1 parent c11c763 commit 71e1973
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Alignment/APEEstimation/test/plottingTools/trendPlotter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import print_function
import ROOT
ROOT.gROOT.SetBatch(True)
from setTDRStyle import setTDRStyle
Expand Down Expand Up @@ -63,7 +64,7 @@ def whichYear(run):
if min(runs[year]) <= run:
thisYear = year
return thisYear
print "Run %d not in range of any year"%(run)
print("Run %d not in range of any year"%(run))
return -1


Expand Down

0 comments on commit 71e1973

Please sign in to comment.