summaryrefslogtreecommitdiff
path: root/distbuild
diff options
context:
space:
mode:
Diffstat (limited to 'distbuild')
-rw-r--r--distbuild/build_controller.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py
index ed6c424e..58f0f429 100644
--- a/distbuild/build_controller.py
+++ b/distbuild/build_controller.py
@@ -341,7 +341,6 @@ class BuildController(distbuild.StateMachine):
'(helper id: %s)' % self._helper_id)
def _maybe_handle_cache_response(self, event_source, event):
- logging.debug('Got cache response: %s' % repr(event.msg))
def set_status(artifact):
is_in_cache = cache_state[self._artifact_filename(artifact)]
@@ -350,6 +349,8 @@ class BuildController(distbuild.StateMachine):
if self._helper_id != event.msg['id']:
return # this event is not for us
+ logging.debug('Got cache response: %s' % repr(event.msg))
+
http_status_code = event.msg['status']
if http_status_code != httplib.OK: