Mercurial > bitten > bitten-test
changeset 443:1c922d944bd2
Minor improvement to logging in the build master when matching slaves against target platforms.
author | cmlenz |
---|---|
date | Thu, 23 Aug 2007 16:56:02 +0000 |
parents | a8787de4fbc3 |
children | 22d6a7da8777 |
files | bitten/queue.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/queue.py +++ b/bitten/queue.py @@ -186,11 +186,15 @@ match = False break if match: - self.log.debug('Slave %s matched target platform %r of ' + self.log.debug('Slave %r matched target platform %r of ' 'build configuration %r', name, platform.name, config.name) platforms.append(platform) + if not platforms: + self.log.debug('Slave %r matched none of the target platforms', + name) + return platforms def populate(self):