aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-05-07 09:43:15 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-05-07 15:10:41 -0500
commit1bba62a75a0ce825b66d6f06fbfe4d73ffc6d50a (patch)
tree51d34499aa91d7555338952f946a9f6c48ea0b71 /host/cmake/Modules
parent75b7991378e3f465f9d91cba597d98ee5b9054ed (diff)
downloaduhd-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/cmake/Modules')
-rw-r--r--host/cmake/Modules/UHDPython.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/cmake/Modules/UHDPython.cmake b/host/cmake/Modules/UHDPython.cmake
index d3fac6100..f5e67fc2d 100644
--- a/host/cmake/Modules/UHDPython.cmake
+++ b/host/cmake/Modules/UHDPython.cmake
@@ -47,7 +47,6 @@ endif(NOT PYTHONINTERP_FOUND)
if(NOT PYTHON_VERSION)
message(STATUS "Manually determining build Python version...")
execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "
-from __future__ import print_function
import sys
print('{}.{}.{}'.format(
sys.version_info.major,