[dpdk-dev] [PATCH 20.08] buildtools/map_to_def.py: drop python2 support
Bruce Richardson
bruce.richardson at intel.com
Wed May 13 13:02:49 CEST 2020
The build scripts called from meson all use python3 as meson itself depends
upon python3. Therefore there is no need for python2 compatibility in these
script files.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
buildtools/map_to_def.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/buildtools/map_to_def.py b/buildtools/map_to_def.py
index 6775b54a9..9edde7a67 100644
--- a/buildtools/map_to_def.py
+++ b/buildtools/map_to_def.py
@@ -1,8 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2019 Intel Corporation
-from __future__ import print_function
import sys
from os.path import dirname, basename, join, exists
--
2.20.1
More information about the dev
mailing list