[Scummvm-devel] Buildbot fix

Max Horn max at quendi.de
Tue Jun 15 10:41:22 CEST 2010


FYI, I just patched our buildbot 0.7.12; its console.py contains a bug that cause a python exception to be showing when trying to view the "console" page of our buildbot while a build takes place. To fix it, I replaced line 331 and 332 of FOO,
                current_revision = self.getChangeForBuild(
                    builder.getBuild(-1), revision)
by this:
                current_revision = self.getChangeForBuild(
                    self.getHeadBuild(builder), revision)
This *seems* to do the right thing (but I wouldn't mind if somebody double checked). At least now the console view works even when something is compiling, see <http://buildbot.scummvm.org/buildbot/console?category=trunk> :-)

Cheers,
Max



More information about the Scummvm-devel mailing list