The branch, master has been updated via 149f80f Don't unicode encode name. from a54c867 Store more as plain strings.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 149f80fa8e2961b131daf8d18207b6a30d6eb4d2 Author: Jelmer Vernooij <jel...@samba.org> Date: Wed Nov 17 01:12:59 2010 +0100 Don't unicode encode name. ----------------------------------------------------------------------- Summary of changes: buildfarm/hostdb.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/buildfarm/hostdb.py b/buildfarm/hostdb.py index ed4e753..24186c2 100644 --- a/buildfarm/hostdb.py +++ b/buildfarm/hostdb.py @@ -125,7 +125,7 @@ class HostDatabase(object): """Write out the web/""" for host in self.hosts(): - yield "%s: %s\n" % (host.name.encode("utf-8"), host.platform.encode("utf-8")) + yield "%s: %s\n" % (host.name, host.platform.encode("utf-8")) def commit(self): pass @@ -143,7 +143,7 @@ class PlainTextHostDatabase(HostDatabase): try: for l in f: (host, platform) = l.split(":", 1) - ret[host.decode("utf-8")] = platform.strip().decode("utf-8") + ret[host] = platform.strip().decode("utf-8") finally: f.close() return cls(ret) -- build.samba.org