Blame SOURCES/tuna-fix-undefined-global-name-stderr.patch

c11499
From 38021aa69c811478ddf6e091353b704adb80985a Mon Sep 17 00:00:00 2001
c11499
From: John Kacur <jkacur@redhat.com>
c11499
Date: Fri, 1 Feb 2019 13:57:52 +0100
c11499
Subject: [PATCH] tuna: fix undefined global name stderr
c11499
c11499
Fix undefined global name stderr. Should be sys.stderr
c11499
c11499
Signed-off-by: John Kacur <jkacur@redhat.com>
c11499
---
c11499
 tuna/tuna.py | 2 +-
c11499
 1 file changed, 1 insertion(+), 1 deletion(-)
c11499
c11499
diff --git a/tuna/tuna.py b/tuna/tuna.py
c11499
index 4b1a77bcfa9f..d1d9bad661c7 100755
c11499
--- a/tuna/tuna.py
c11499
+++ b/tuna/tuna.py
c11499
@@ -255,7 +255,7 @@ def move_threads_to_cpu(cpus, pid_list, set_affinity_warning = None,
c11499
                                 # process died
c11499
                                 continue
c11499
                         elif e.args[0] == errno.EINVAL: # unmovable thread)
c11499
-                                print("thread %(pid)d cannot be moved as requested" %{'pid':pid}, file=stderr)
c11499
+                                print("thread %(pid)d cannot be moved as requested" %{'pid':pid}, file=sys.stderr)
c11499
                                 continue
c11499
                         raise e
c11499
         return changed
c11499
-- 
c11499
2.20.1
c11499