summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/blktrace/blktrace/0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch
blob: e2305a1111e7840674b950ff7b09db0d05fffbde (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 6f4769e6e2c5cdc1262891470995e6dead937c7a Mon Sep 17 00:00:00 2001
From: Sakib Sajal <sakib.sajal@windriver.com>
Date: Mon, 26 Jun 2023 17:57:36 -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
 #