[Pkg-debile-commits] [debile-slave] 77/100: Backport unicode

Sylvestre Ledru sylvestre at alioth.debian.org
Mon Aug 19 14:53:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

sylvestre pushed a commit to branch master
in repository debile-slave.

commit 3da9d3b209ccf0b97845d8ce4bedd69d21ea6a7f
Author: Léo Cavaillé <leo at cavaille.net>
Date:   Sat Jul 6 02:22:21 2013 +0200

    Backport unicode
---
 ethel/daemon.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ethel/daemon.py b/ethel/daemon.py
index 00875e7..4b748c1 100644
--- a/ethel/daemon.py
+++ b/ethel/daemon.py
@@ -105,7 +105,7 @@ def iterate():
                     report = proxy.submit_report(firehose.to_json(),
                                                  job['_id'], err)
                     remote_path = proxy.get_log_write_location(report)
-                    open('ethel-log', 'w').write(log)
+                    open('ethel-log', 'wb').write(log.encode('utf-8'))
                     cmd = config['copy'].format(src='ethel-log',
                                                 dest=remote_path)
                     out, err, ret = run_command(cmd)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-slave.git



More information about the Pkg-debile-commits mailing list