[Libreoffice-commits] .: pyuno/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 02:17:07 PST 2012
pyuno/source/loader/pythonloader.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 71f9633d6764514dc4460cb145af8c7b14dbb0a0
Author: László Németh <nemeth at numbertext.org>
Date: Wed Dec 19 11:09:57 2012 +0100
some not important Python3.3 port (pythonloader DEBUG mode)
Change-Id: I9a6ee04524c0ecd10301c17d2ca6da156d1c2160
diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py
index bc09725..6d8ca97 100644
--- a/pyuno/source/loader/pythonloader.py
+++ b/pyuno/source/loader/pythonloader.py
@@ -41,16 +41,16 @@ g_loadedComponents = {}
def checkForPythonPathBesideComponent( url ):
path = unohelper.fileUrlToSystemPath( url+"/pythonpath.zip" );
if DEBUG == 1:
- print("checking for existence of " + encfile( path ))
+ print(b"checking for existence of " + encfile( path ))
if 1 == os.access( encfile( path ), os.F_OK) and not path in sys.path:
if DEBUG == 1:
- print("adding " + encfile( path ) + " to sys.path")
+ print(b"adding " + encfile( path ) + b" to sys.path")
sys.path.append( path )
path = unohelper.fileUrlToSystemPath( url+"/pythonpath" );
if 1 == os.access( encfile( path ), os.F_OK) and not path in sys.path:
if DEBUG == 1:
- print("adding " + encfile( path ) + " to sys.path")
+ print(b"adding " + encfile( path ) + b" to sys.path")
sys.path.append( path )
def encfile(uni):
More information about the Libreoffice-commits
mailing list