[dpdk-dev] [PATCH v10 10/11] buildtools: support python3 only
Kevin Laatz
kevin.laatz at intel.com
Wed Sep 30 13:40:23 CEST 2020
Changed script to explicitly use python3 only to avoid
maintaining python 2 and removed deprecation notice.
Cc: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
Cc: Narcisa Ana Maria Vasile <navasile at linux.microsoft.com>
Cc: Dmitry Malloy <dmitrym at microsoft.com>
Cc: Pallavi Kadam <pallavi.kadam at intel.com>
Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>
Acked-by: Robin Jarry <robin.jarry at 6wind.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
---
v7:
- Cc Maintainers
---
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