ooo-build r14287 - in branches/ooo-build-3-0: . patches/dev300
- From: rengelhard svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r14287 - in branches/ooo-build-3-0: . patches/dev300
- Date: Sat, 11 Oct 2008 16:34:13 +0000 (UTC)
Author: rengelhard
Date: Sat Oct 11 16:34:13 2008
New Revision: 14287
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14287&view=rev
Log:
2008-10-11 Rene Engelhard <rene debian org>
* patches/dev300/system-python-ure-bootstrap.diff.in: fix location
of envvar setting
Modified:
branches/ooo-build-3-0/ChangeLog
branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff.in
Modified: branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff.in
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff.in (original)
+++ branches/ooo-build-3-0/patches/dev300/system-python-ure-bootstrap.diff.in Sat Oct 11 16:34:13 2008
@@ -1,20 +1,13 @@
--- pyuno/source/module/uno.py 2008-10-07 11:49:54 +0000
+++ pyuno/source/module/uno.py 2008-10-07 11:57:11 +0000
-@@ -28,6 +28,7 @@
+@@ -28,6 +28,10 @@
# for a copy of the LGPLv3 License.
#
#*************************************************************************
+import os
import sys
- import pyuno
-@@ -38,6 +39,9 @@
- _g_ctx = pyuno.getComponentContext( )
- _g_delegatee = __builtin__.__dict__["__import__"]
-
+if getattr(os.environ, 'URE_BOOTSTRAP', None) is None:
+ os.environ['URE_BOOTSTRAP'] = "vnd.sun.star.pathname:@libdir@/@OOOINSTALLDIRNAME@/program/fundamentalrc"
+
- def getComponentContext():
- """ returns the UNO component context, that was used to initialize the python runtime.
- """
+ import pyuno
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]