[Buildbot-commits] [buildbot/buildbot] affdec: Don't try to re-decode a Unicode string from UTF-8

noreply at github.com noreply at github.com
Fri Jan 14 23:22:15 UTC 2011


Branch: refs/heads/master
Home:   https://github.com/buildbot/buildbot

Commit: affdeceb68cd314e430add18c89f74fc394d18f0
    https://github.com/buildbot/buildbot/commit/affdeceb68cd314e430add18c89f74fc394d18f0
Author: Dustin J. Mitchell <dustin at mozilla.com>
Date:   2011-01-14 (Fri, 14 Jan 2011)

Changed paths:
  M slave/buildslave/commands/utils.py

Log Message:
-----------
Don't try to re-decode a Unicode string from UTF-8

Python doesn't support trying to interpret a Unicode string as utf-8 -
you should be decoding a *bytestring* into utf-8 instead.  So don't do
that.  Fixes #1752.






More information about the Commits mailing list