--- /usr/local/bin/gather_easyfix.py 2012-03-21 16:00:24.578429395 +0000 +++ gather_easyfix.py 2012-03-21 16:17:13.393442656 +0000 @@ -29,9 +29,10 @@ import datetime import os import re -import fedora.client import xmlrpclib from bugzilla.rhbugzilla import RHBugzilla3 +import fedora.client +from kitchen.text.converters import to_bytes # Let's import template stuff from jinja2 import Template @@ -168,7 +169,7 @@ date=datetime.datetime.now().strftime("%a %b %d %Y %H:%M")) # Write down the page stream = open('easyfix.html', 'w') - stream.write(html) + stream.write(to_bytes(html)) stream.close() except IOError, err: print 'ERROR: %s' % err