bug 464151: tinderbox.py fix for Buildbot 0.7.9 (call render() correctly). r=me, patch=catlee

git-svn-id: svn://10.0.0.236/trunk@255095 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bhearsum%mozilla.com 2008-11-18 18:44:10 +00:00
parent 569c5928ae
commit 9834ec317c

View File

@ -145,7 +145,7 @@ class TinderboxMailNotifier(mail.MailNotifier):
text += "%s tree: %s\n" % (t, self.tree)
elif isinstance(self.tree, WithProperties):
# interpolate the WithProperties instance, use that
text += "%s tree: %s\n" % (t, self.tree.render(build))
text += "%s tree: %s\n" % (t, build.getProperties().render(self.tree))
else:
raise Exception("tree is an unhandled value")