changeset 992:2cd1ce245024

update to python 3
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 13 Apr 2018 16:48:02 -0400
parents 9b601e9e9735
children e8eabef7857c
files python/traffic_engineering.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/traffic_engineering.py	Fri Mar 09 17:02:37 2018 -0500
+++ b/python/traffic_engineering.py	Fri Apr 13 16:48:02 2018 -0400
@@ -304,7 +304,7 @@
     if deceleration > 0:
         return [perceptionReactionTime+float(initialSpeed)/(2*deceleration), float(intersectionLength+vehicleAverageLength)/initialSpeed]
     else:
-        print 'Issue deceleration should be strictly positive'
+        print('Issue deceleration should be strictly positive')
         return None
 
 def uniformDelay(cycleLength, effectiveGreen, saturationDegree):