Blame SOURCES/0019-Be-explicit-about-using-Python2-in-the-test-script.patch

fc9b0e
From 4326f49e3c3246443b52f319cefbc3d296e09e64 Mon Sep 17 00:00:00 2001
fc9b0e
Message-Id: <4326f49e3c3246443b52f319cefbc3d296e09e64.1566225007.git.aquini@redhat.com>
fc9b0e
In-Reply-To: <d42f467a923dfc09309acb7a83b42e3285fbd8f4.1566225007.git.aquini@redhat.com>
fc9b0e
References: <d42f467a923dfc09309acb7a83b42e3285fbd8f4.1566225007.git.aquini@redhat.com>
fc9b0e
From: David Gibson <david@gibson.dropbear.id.au>
fc9b0e
Date: Sat, 17 Aug 2019 20:59:43 +1000
fc9b0e
Subject: [RHEL7 PATCH 19/31] Be explicit about using Python2 in the test
fc9b0e
 script
fc9b0e
fc9b0e
Since Python2 is now end-of-life, distros are increasingly not having bare
fc9b0e
"python" refer to the Python2 interpreter.
fc9b0e
fc9b0e
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
fc9b0e
Signed-off-by: Eric B Munson <eric@munsonfam.org>
fc9b0e
Signed-off-by: Rafael Aquini <aquini@redhat.com>
fc9b0e
---
fc9b0e
 tests/run_tests.py | 2 +-
fc9b0e
 1 file changed, 1 insertion(+), 1 deletion(-)
fc9b0e
fc9b0e
diff --git a/tests/run_tests.py b/tests/run_tests.py
fc9b0e
index b132da2..721c1af 100755
fc9b0e
--- a/tests/run_tests.py
fc9b0e
+++ b/tests/run_tests.py
fc9b0e
@@ -1,4 +1,4 @@
fc9b0e
-#! /usr/bin/env python
fc9b0e
+#! /usr/bin/python2
fc9b0e
 
fc9b0e
 import subprocess
fc9b0e
 import types
fc9b0e
-- 
fc9b0e
1.8.3.1
fc9b0e