summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-20 17:16:16 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-20 17:18:48 +0200
commit5be1f5234b46a89a7660a9cfe3deaa00e2aa124b (patch)
treea466bf22132e5543b6d0efbc67ac542e3a297bb9 /scripting
parent0a74847e5d533ea2e5773387a171b96e5885c51e (diff)
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
Diffstat (limited to 'scripting')
-rwxr-xr-xscripting/source/pyprov/pythonscript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py
index a405ca4b11df..c9cafc9342d6 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: