bug 412274: TinderboxMailNotifier throws error about logEncoding. r=robcee, patch=me

git-svn-id: svn://10.0.0.236/trunk@243057 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bhearsum%mozilla.com 2008-01-14 15:38:52 +00:00
parent 38e4e959ba
commit 20f5419da8

View File

@ -185,10 +185,10 @@ class TinderboxMailNotifier(mail.MailNotifier):
text += "%s logcompression: %s\n" % (t, self.logCompression)
# logs will always be appended
logEncoding = ""
tinderboxLogs = ""
for log in build.getLogs():
l = ""
logEncoding = ""
if self.logCompression == "bzip2":
compressedLog = bz2.compress(log.getText())
l = base64.encodestring(compressedLog)