Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.3:Staging:C:DVD
python3-gobject
pycompile-searchpath.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pycompile-searchpath.patch of Package python3-gobject
Index: pygobject-3.11.92/py-compile =================================================================== --- pygobject-3.11.92.orig/py-compile +++ pygobject-3.11.92/py-compile @@ -116,7 +116,11 @@ else fi $PYTHON -c " -import sys, os, py_compile, imp +import sys +# when this runs interactively, '' (cwd) is in sys.path. we don't want that. +sys.path.remove('') + +import os, py_compile, imp files = '''$files''' @@ -137,7 +141,11 @@ sys.stdout.write('\n')" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " -import sys, os, py_compile, imp +import sys +# when this runs interactively, '' (cwd) is in sys.path. we don't want that. +sys.path.remove('') + +import os, py_compile, imp # pypy does not use .pyo optimization if hasattr(sys, 'pypy_translation_info'):
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