diff options
author | Ayke van Laethem <[email protected]> | 2019-08-23 23:21:05 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-08-26 16:39:28 +0200 |
commit | 7938740bf3db8be02636561dd6e093ae7a54230a (patch) | |
tree | 98daad9457164d196d1b1a4a0bb2f9b1a1eb0cb8 /tools | |
parent | 319d21e66244bb0ed766f26b57e188e34b541335 (diff) | |
download | tinygo-7938740bf3db8be02636561dd6e093ae7a54230a.tar.gz tinygo-7938740bf3db8be02636561dd6e093ae7a54230a.zip |
tools: make tools python2 compatible
This allows the tools to be used for Python 2 and Python 3.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/gen-device-avr.py | 4 | ||||
-rwxr-xr-x | tools/gen-device-svd.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/gen-device-avr.py b/tools/gen-device-avr.py index 7e32808a8..becd4cd8f 100755 --- a/tools/gen-device-avr.py +++ b/tools/gen-device-avr.py @@ -1,4 +1,6 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python + +from __future__ import print_function import sys import os diff --git a/tools/gen-device-svd.py b/tools/gen-device-svd.py index fc9e3f16f..990b2080d 100755 --- a/tools/gen-device-svd.py +++ b/tools/gen-device-svd.py @@ -1,4 +1,6 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python + +from __future__ import print_function import sys import os |