scripting/source/pyprov/pythonscript.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5be1f5234b46a89a7660a9cfe3deaa00e2aa124b
Author: Michael Stahl <mst...@redhat.com>
Date:   Tue Aug 20 17:16:16 2013 +0200

    deb#719941: unbreak python script provider debug logging on Python 3
    
    Don't mess with encoding in Logger.log, since sys.stdout.write()
    accepts str (in python3) and both str/unicode (in python2) anyway.
    
    Change-Id: Ib0339b7fd882a7654cc24c38efdaf67f519663ff

diff --git a/scripting/source/pyprov/pythonscript.py 
b/scripting/source/pyprov/pythonscript.py
index a405ca4..c9cafc9 100755
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -109,7 +109,7 @@ class Logger(LogLevel):
                     " [" +
                     logLevel2String( level ) +
                     "] " +
-                    encfile(msg) +
+                    msg +
                     "\n" )
                 self.target.flush()
             except:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to