[libvirt] [dbus PATCH] tests: Fix sha-bang for test_interface.py

Andrea Bolognani posted 1 patch 5 years, 9 months ago
Failed in applying to current master (apply log)
tests/test_interface.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [dbus PATCH] tests: Fix sha-bang for test_interface.py
Posted by Andrea Bolognani 5 years, 9 months ago
We need to call python3 through /usr/bin/env so that
the script will work on platforms, such as FreeBSD, where
the interpreter is installed under a different path.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
Pushed under the build-breaker rule.

 tests/test_interface.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_interface.py b/tests/test_interface.py
index 9503eef..3b8b344 100755
--- a/tests/test_interface.py
+++ b/tests/test_interface.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import dbus
 import libvirttest
-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list