Blame SOURCES/tuna-Fix-ModuleNotFoundError.patch

0b702a
From 7684169d22af5379d2f466730c450afc92e80da8 Mon Sep 17 00:00:00 2001
0b702a
From: John Kacur <jkacur@redhat.com>
0b702a
Date: Tue, 11 Jan 2022 16:58:58 -0500
0b702a
Subject: [PATCH] tuna: Fix ModuleNotFoundError
0b702a
0b702a
commit 43b434867514934593ada5aa8ea448ef6a1778f9 fixed the problem with
0b702a
relative imports but unfortunately created a new problem with installed
0b702a
tuna
0b702a
0b702a
This fixes the original problem and also fixes the ModuleNotFoundError
0b702a
in an installed (not running from git) version of tuna.
0b702a
0b702a
Signed-off-by: John Kacur <jkacur@redhat.com>
0b702a
---
0b702a
 tuna/tuna.py | 4 ++--
0b702a
 1 file changed, 2 insertions(+), 2 deletions(-)
0b702a
0b702a
diff --git a/tuna/tuna.py b/tuna/tuna.py
0b702a
index 98a1725598dd..8fb42121e2e4 100755
0b702a
--- a/tuna/tuna.py
0b702a
+++ b/tuna/tuna.py
0b702a
@@ -12,8 +12,8 @@ import platform
0b702a
 import ethtool
0b702a
 import procfs
0b702a
 from procfs import utilist
0b702a
-import help
0b702a
-import tuna_sched
0b702a
+from tuna import help
0b702a
+from tuna import tuna_sched
0b702a
 
0b702a
 try:
0b702a
     fntable
0b702a
-- 
0b702a
2.27.0
0b702a