From 215103a8fe6bd4b2e86edb0fd03c1a50af4add13 Mon Sep 17 00:00:00 2001 From: Josh Marshall Date: Thu, 9 Aug 2018 16:01:18 +1000 Subject: [PATCH] py2.7compat: a few more files requiring print_function --- tools/odrive/dfu.py | 1 + tools/odrive/tests.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/odrive/dfu.py b/tools/odrive/dfu.py index 0b0a55be..6283b81a 100755 --- a/tools/odrive/dfu.py +++ b/tools/odrive/dfu.py @@ -3,6 +3,7 @@ Tool for flashing .hex files to the ODrive via the STM built-in USB DFU mode. """ +from __future__ import print_function import argparse import sys import time diff --git a/tools/odrive/tests.py b/tools/odrive/tests.py index 92dfc9b8..19c452aa 100644 --- a/tools/odrive/tests.py +++ b/tools/odrive/tests.py @@ -1,4 +1,4 @@ - +from __future__ import print_function import subprocess import shlex import math