tuna/SOURCES/tuna-Fix-typo-for-variable-parm.patch
2022-04-20 18:09:40 +00:00

27 lines
863 B
Diff

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