celery/celery — pull request #1539 by daodaod (2013-09-07 14:59:49+00:00)
Title: Hostname should also be passed through safe_str

Sometimes self.hostname can contain bad characters (when PC name is not written in english) like 'MY-\xcf\xca' and that causes unicodedecodeerror when trying to format a banner.