update dev300-m58
[ooovba.git] / applied_patches / 0268-system-python-ure-bootstrap.diff
blob2cb8452867674a3334da78bbd631d8af2796d1da
1 --- pyuno/source/module/uno.py 2008-10-07 11:49:54 +0000
2 +++ pyuno/source/module/uno.py 2008-10-07 11:57:11 +0000
3 @@ -28,8 +28,12 @@
4 # for a copy of the LGPLv3 License.
6 #*************************************************************************
7 +import os
8 import sys
10 +if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
11 + os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:${exec_prefix}/lib/ooo-3.2/program/fundamentalrc"
13 import pyuno
14 import __builtin__
15 import socket # since on Windows sal3.dll no longer calls WSAStartup