Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
python-efilter
fix-executable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-executable.patch of Package python-efilter
Index: efilter-1.6.0/efilter_tests/testlib.py =================================================================== --- efilter-1.6.0.orig/efilter_tests/testlib.py +++ efilter-1.6.0/efilter_tests/testlib.py @@ -22,6 +22,7 @@ from builtins import object __author__ = "Adam Sindelar <adamsh@google.com>" import os +import sys import subprocess import unittest @@ -41,7 +42,7 @@ def get_fixture_path(name): class EfilterTestCase(unittest.TestCase): def runPythonScript(self, script_path, args=()): - cmd = ["python", os.path.join(os.getcwd(), script_path)] + cmd = [sys.executable, os.path.join(os.getcwd(), script_path)] cmd.extend(args) proc = subprocess.Popen(args=cmd, stdout=subprocess.PIPE,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor