Blame SOURCES/tuna-Fix-ModuleNotFoundError.patch

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