diff --git a/mozilla/tools/buildbot/buildbot/status/tinderbox.py b/mozilla/tools/buildbot/buildbot/status/tinderbox.py index 7408a34b631..2c67366c9b9 100644 --- a/mozilla/tools/buildbot/buildbot/status/tinderbox.py +++ b/mozilla/tools/buildbot/buildbot/status/tinderbox.py @@ -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)