Use python3 print
One step closer to no more python2
Change-Id: I4dcfd7aef6e8bb3f9a04be7bc91c11749e2104f3
diff --git a/y2019/control_loops/python/drivetrain.py b/y2019/control_loops/python/drivetrain.py
index 4a68fde..0a1a90d 100644
--- a/y2019/control_loops/python/drivetrain.py
+++ b/y2019/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
@@ -41,7 +42,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], 'y2019', kDrivetrain)