diff options
Diffstat (limited to 'distbuild/build_controller.py')
-rw-r--r-- | distbuild/build_controller.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py index 4a59ed65..8cc817ca 100644 --- a/distbuild/build_controller.py +++ b/distbuild/build_controller.py @@ -745,7 +745,10 @@ class BuildController(distbuild.StateMachine): logging.debug('BC: got output: %s' % repr(event.msg)) artifact = self._find_artifact(event.artifact_cache_key) - logging.debug('BC: got artifact: %s' % repr(artifact)) + + if self._debug_build_output: + logging.debug('BC: got artifact: %s' % repr(artifact)) + if artifact is None: # This is not the event you are looking for. return |