blktrace/0001-blktrace-remove-python2-dedpendency.patch

38 lines
936 B
Diff
Raw Normal View History

From 0d0ffc078fb582357f563331b6cd06fce41cec88 Mon Sep 17 00:00:00 2001
2020-02-06 13:58:08 +08:00
From: sunshihao <sunshihao@huawei.com>
Date: Mon, 3 Feb 2020 17:58:10 +0800
Subject: [PATCH 08/15] blktrace: remove python2 dedpendency
2020-02-06 13:58:08 +08:00
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 f05cfdc..74ebecb 100644
2020-02-06 13:58:08 +08:00
--- 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 76fcca8..fcd5838 100755
2020-02-06 13:58:08 +08:00
--- 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
#
--
2020-02-06 13:58:08 +08:00
1.8.3.1