diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-20 17:00:29 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-21 01:46:07 +0200 |
commit | 41a68a4f77a639def35d778b86b6aeda8fe60a7b (patch) | |
tree | 4354ff5bd1fee6d5c659519a57f4f97d5fe7c5d0 /pyuno/source/module/pyuno_except.cxx | |
parent | a9b9b40570e6cf26ac23cd49b043d8bc2e878240 (diff) |
pyuno: hook into import *after* the _whole_ uno module is successfully loaded
This avoids breaking the whole python process module importing
when an uno.py import failure happens after the hooking point.
In that case, _uno_import is still the python module loader,
but _g_delegatee is not anymore bound to the previously installed
importer, and thus any module import fails with:
File "/home/master/src/libreoffice/core/install/basis3.5/program/uno.py", line 260, in _uno_import
return _g_delegatee( name, *optargs, **kwargs )
TypeError: 'NoneType' object is not callable
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
0 files changed, 0 insertions, 0 deletions