blktrace/0001-remove-python2-dependency.patch
2020-07-01 15:30:40 +08:00

37 lines
928 B
Diff

From d8b5a8105a76d390ae9bb197448235dfc663fdac Mon Sep 17 00:00:00 2001
From: sunshihao <sunshihao@huawei.com>
Date: Mon, 3 Feb 2020 17:58:10 +0800
Subject: [PATCH] blktrace: remove python2 dedpendency
in order to remove python2 dependency,we
use python3 as Default interpreter.
Signed-off-by: sunshihao <sunshihao@huawei.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 aa92480..bb0cae7 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 b81dad5..7e10f92 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
#
--
1.8.3.1