Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
python-plumbum
no-python2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-python2.patch of Package python-plumbum
Index: plumbum-1.6.9/tests/test_local.py =================================================================== --- plumbum-1.6.9.orig/tests/test_local.py +++ plumbum-1.6.9/tests/test_local.py @@ -966,7 +966,7 @@ class TestLocalEncoding: name = self.richstr + six.str("_program") with open(name, 'w') as f: - f.write("#!/usr/bin/env python\nprint('yes')") + f.write("#!{}\nprint('yes')".format(sys.executable)) st = os.stat(name) os.chmod(name, st.st_mode | stat.S_IEXEC)
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