summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2012-12-19 11:21:03 +0100
committerLászló Németh <nemeth@numbertext.org>2012-12-19 11:21:03 +0100
commit44302569171b55ccfa29f9c42767072e19e0bc82 (patch)
tree2e01f14a14ea1004c3ab7c26dc4b656937d8a21a /pyuno
parent00edfcff58032cc7f90026bd3ce92402e3c7e769 (diff)
some not important Python3.3 port (pythonloader DEBUG mode)
Change-Id: If499f952e426d0754f8502bace81c1ac918479f1
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/loader/pythonloader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py
index 03bf7d21b24f..0330a6e79ef1 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):