[dpdk-dev] [PATCH v6 10/10] buildtools: support python3 only
Kevin Laatz
kevin.laatz at intel.com
Mon Sep 21 13:46:34 CEST 2020
Changed script to explicitly use python3 only to avoid
maintaining python 2 and removed deprecation notice.
Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>
---
buildtools/map_to_win.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/buildtools/map_to_win.py b/buildtools/map_to_win.py
index 2990b58634..2a6cb88605 100644
--- a/buildtools/map_to_win.py
+++ b/buildtools/map_to_win.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.25.1
More information about the dev
mailing list