# HG changeset patch # User cmlenz # Date 1190638601 0 # Node ID f487963dd8862366844cc96cf0cf90a8c5ce1283 # Parent 32b61f031df0b7925ee28bcbe59ab7195243a3a0 When the slave is run in `--dry-run` mode, it now also sends a build cancellation message to the master in case of failed builds. Closes #187. diff --git a/bitten/slave.py b/bitten/slave.py --- a/bitten/slave.py +++ b/bitten/slave.py @@ -214,8 +214,8 @@ break else: log.info('Build completed') - if self.dry_run: - self._cancel_build(build_url) + if self.dry_run: + self._cancel_build(build_url) finally: if not self.keep_files: log.debug('Removing build directory %s' % basedir)