changeset 461:f487963dd886

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.
author cmlenz
date Mon, 24 Sep 2007 12:56:41 +0000
parents 32b61f031df0
children 8d7091819913
files bitten/slave.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)
Copyright (C) 2012-2017 Edgewall Software