Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Mono
IPCE
IPCE-fix_fepy_init.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File IPCE-fix_fepy_init.patch of Package IPCE
--- IPCE-r7/Lib/fepy/__init__.py.orig 2008-02-28 11:12:02.000000000 -0700 +++ IPCE-r7/Lib/fepy/__init__.py 2008-02-28 11:11:37.000000000 -0700 @@ -14,5 +14,8 @@ def override_builtin(name): import imp, sys, os sys.modules[name] = module = imp.new_module(name) - path = os.path.join(sys.prefix, 'Lib', name + '.py') - execfile(path, module.__dict__) + for path in sys.path: + file = os.path.join(path, name + '.py') + if os.path.exists(file): + break + execfile(file, module.__dict__)
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