email notifications

Florian La Roche Florian.LaRoche at gmx.net
Thu Jul 15 04:58:31 UTC 2010


> Thie seems to happen e.g. on dejavu-fonts, ctags, crontabs,
> cronie, amanda, akonadi.


The following change seems to work (tested with ctags and crontabs):

--- builder/kojid
+++ builder/kojid
@@ -3455,7 +3455,7 @@ Status: %(status)s\r
 
         message = self.message_templ % locals()
         # ensure message is in UTF-8
-        message = message.encode('utf-8')
+        message = koji.fixEncoding(message)
 
         server = smtplib.SMTP(options.smtphost)
         #server.set_debuglevel(True)
@@ -3646,7 +3646,7 @@ Build Info: %(weburl)s/buildinfo?buildID
         subject = self.subject_templ % locals()
         message = self.message_templ % locals()
         # ensure message is in UTF-8
-        message = message.encode('utf-8')
+        message = koji.fixEncoding(message)
 
         server = smtplib.SMTP(options.smtphost)
         # server.set_debuglevel(True)

I'll put this into a bugzilla and also upload my current
koji rpm to http://jur-linux.org/rpms/el-updates/6/ again.

regards,

Florian La Roche



More information about the buildsys mailing list