Blame SOURCES/tuna-Fix-typo-for-variable-parm.patch

ad7215
From 8cad3c289471b985a8d0b7f698fcbf5ecbfa7bb5 Mon Sep 17 00:00:00 2001
ad7215
From: Leah Leshchinsky <lleshchi@redhat.com>
ad7215
Date: Wed, 2 Feb 2022 15:18:26 -0500
ad7215
Subject: [PATCH 1/5] tuna: Fix typo for variable 'parm'
ad7215
ad7215
Variable 'parms' should be 'parm'. Fix typo.
ad7215
ad7215
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
ad7215
Signed-off-by: John Kacur <jkacur@redhat.com>
ad7215
ad7215
diff --git a/tuna/tuna.py b/tuna/tuna.py
ad7215
index 8fb42121e2e4..126990339985 100755
ad7215
--- a/tuna/tuna.py
ad7215
+++ b/tuna/tuna.py
ad7215
@@ -561,7 +561,7 @@ def threads_set_priority(tids, parm, affect_children=False):
ad7215
     try:
ad7215
         (policy, rtprio) = get_policy_and_rtprio(parm)
ad7215
     except ValueError:
ad7215
-        print("tuna: " + _("\"%s\" is unsupported priority value!") % parms[0])
ad7215
+        print("tuna: " + _("\"%s\" is an unsupported priority value!") % parm[0])
ad7215
         return
ad7215
 
ad7215
     for tid in tids:
ad7215
-- 
ad7215
2.27.0
ad7215