diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-05-07 09:43:15 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-05-07 15:10:41 -0500 |
commit | 1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a (patch) | |
tree | 51d34499aa91d7555338952f946a9f6c48ea0b71 /host/examples/python | |
parent | 75b7991378e3f465f9d91cba597d98ee5b9054ed (diff) | |
download | uhd-1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a.tar.gz uhd-1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a.tar.bz2 uhd-1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a.zip |
Remove remaining Python 2 references
This changes two things in all applicable files:
- Remove imports from __future__
- Change default shebangs from /usr/bin/env python to /usr/bin/env
python3
Diffstat (limited to 'host/examples/python')
-rwxr-xr-x | host/examples/python/benchmark_rate.py | 2 | ||||
-rwxr-xr-x | host/examples/python/curses_fft.py | 2 | ||||
-rwxr-xr-x | host/examples/python/rx_to_file.py | 2 | ||||
-rwxr-xr-x | host/examples/python/tx_waveforms.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/host/examples/python/benchmark_rate.py b/host/examples/python/benchmark_rate.py index 6f3191e07..948b30ce3 100755 --- a/host/examples/python/benchmark_rate.py +++ b/host/examples/python/benchmark_rate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2018 Ettus Research, a National Instruments Company # Copyright 2019 Ettus Research, a National Instruments Brand diff --git a/host/examples/python/curses_fft.py b/host/examples/python/curses_fft.py index 7a447cc67..f435def79 100755 --- a/host/examples/python/curses_fft.py +++ b/host/examples/python/curses_fft.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017-2018 Ettus Research, a National Instruments Company # diff --git a/host/examples/python/rx_to_file.py b/host/examples/python/rx_to_file.py index 7017a08c2..0b98be76e 100755 --- a/host/examples/python/rx_to_file.py +++ b/host/examples/python/rx_to_file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017-2018 Ettus Research, a National Instruments Company # diff --git a/host/examples/python/tx_waveforms.py b/host/examples/python/tx_waveforms.py index 6db50fa2b..58b6472f7 100755 --- a/host/examples/python/tx_waveforms.py +++ b/host/examples/python/tx_waveforms.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2017-2018 Ettus Research, a National Instruments Company # |