diff options
author | László Németh <nemeth@numbertext.org> | 2012-12-19 11:09:57 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2012-12-19 11:16:14 +0100 |
commit | 71f9633d6764514dc4460cb145af8c7b14dbb0a0 (patch) | |
tree | 3b069d9c238934b8dd06004664096a108dbfcf53 /pyuno | |
parent | e87e9ab402f34bd347a991a19aef40e14b2abdb6 (diff) |
some not important Python3.3 port (pythonloader DEBUG mode)
Change-Id: I9a6ee04524c0ecd10301c17d2ca6da156d1c2160
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/loader/pythonloader.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index bc09725975fd..6d8ca979b54d 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): |