Use python3 print
One step closer to no more python2
Change-Id: I4dcfd7aef6e8bb3f9a04be7bc91c11749e2104f3
diff --git a/y2016/control_loops/python/drivetrain.py b/y2016/control_loops/python/drivetrain.py
index 7417ffb..ed108ea 100755
--- a/y2016/control_loops/python/drivetrain.py
+++ b/y2016/control_loops/python/drivetrain.py
@@ -1,5 +1,6 @@
#!/usr/bin/python
+from __future__ import print_function
from frc971.control_loops.python import drivetrain
import sys
@@ -31,7 +32,7 @@
if FLAGS.plot:
drivetrain.PlotDrivetrainMotions(kDrivetrain)
elif len(argv) != 5:
- print "Expected .h file name and .cc file name"
+ print("Expected .h file name and .cc file name")
else:
# Write the generated constants out to a file.
drivetrain.WriteDrivetrain(argv[1:3], argv[3:5], 'y2016', kDrivetrain)