summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-kernel/blktrace/blktrace/0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch
blob: a3b8a98589cd59978835e0586c0ea4600c2adeef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From b8d9618cbbec5a04cf6dede0a6ceda41021b92ae Mon Sep 17 00:00:00 2001
From: Sakib Sajal <sakib.sajal@windriver.com>
Date: Mon, 26 Jun 2023 17:34:01 -0400
Subject: [PATCH] bno_plot.py, btt_plot.py: Ask for python3 specifically

python2 is deprecated, use python3.

Upstream-Status: Denied [https://www.spinics.net/lists/linux-btrace/msg01364.html]

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
---
 btt/bno_plot.py | 2 +-
 btt/btt_plot.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/btt/bno_plot.py b/btt/bno_plot.py
index 3aa4e19..d7d7159 100644
--- a/btt/bno_plot.py
+++ b/btt/bno_plot.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #
 # btt blkno plotting interface
 #
diff --git a/btt/btt_plot.py b/btt/btt_plot.py
index 40bc71f..8620d31 100755
--- a/btt/btt_plot.py
+++ b/btt/btt_plot.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #
 # btt_plot.py: Generate matplotlib plots for BTT generate data files
 #