Blame SOURCES/tuna-Fix-ModuleNotFoundError.patch

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