diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-08-20 17:16:16 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-08-20 17:18:48 +0200 |
commit | 5be1f5234b46a89a7660a9cfe3deaa00e2aa124b (patch) | |
tree | a466bf22132e5543b6d0efbc67ac542e3a297bb9 /scripting | |
parent | 0a74847e5d533ea2e5773387a171b96e5885c51e (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-x | scripting/source/pyprov/pythonscript.py | 2 |
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: |