| |
@@ -0,0 +1,35 @@
|
| |
+ From 7684169d22af5379d2f466730c450afc92e80da8 Mon Sep 17 00:00:00 2001
|
| |
+ From: John Kacur <jkacur@redhat.com>
|
| |
+ Date: Tue, 11 Jan 2022 16:58:58 -0500
|
| |
+ Subject: tuna: Fix ModuleNotFoundError
|
| |
+
|
| |
+ commit 43b434867514934593ada5aa8ea448ef6a1778f9 fixed the problem with
|
| |
+ relative imports but unfortunately created a new problem with installed
|
| |
+ tuna
|
| |
+
|
| |
+ This fixes the original problem and also fixes the ModuleNotFoundError
|
| |
+ in an installed (not running from git) version of tuna.
|
| |
+
|
| |
+ Signed-off-by: John Kacur <jkacur@redhat.com>
|
| |
+ ---
|
| |
+ tuna/tuna.py | 4 ++--
|
| |
+ 1 file changed, 2 insertions(+), 2 deletions(-)
|
| |
+
|
| |
+ diff --git a/tuna/tuna.py b/tuna/tuna.py
|
| |
+ index 98a1725..8fb4212 100755
|
| |
+ --- a/tuna/tuna.py
|
| |
+ +++ b/tuna/tuna.py
|
| |
+ @@ -12,8 +12,8 @@ import platform
|
| |
+ import ethtool
|
| |
+ import procfs
|
| |
+ from procfs import utilist
|
| |
+ -import help
|
| |
+ -import tuna_sched
|
| |
+ +from tuna import help
|
| |
+ +from tuna import tuna_sched
|
| |
+
|
| |
+ try:
|
| |
+ fntable
|
| |
+ --
|
| |
+ cgit 1.2.3-1.el7
|
| |
+
|
| |
From package maintainer's annoucement:
A few highlights.
- more flexible way to specify scheduling policy, fifo, sched_fifo, etc
- fix to display correct cpu affinity when cpus are offlined
- warning if unable to move a pid during isolate that would otherwise be
legal
- many small fixes and clean-ups