buildman: rm coroutine decorator from subscribers
Python isn't able to figure out that these are generators and properly handle theme.
This commit is contained in:
parent
62bced4147
commit
1195e3ec7c
1 changed files with 0 additions and 2 deletions
|
@ -194,7 +194,6 @@ class BuildComponent(BaseComponent):
|
||||||
status_dict[status_completion_key] = \
|
status_dict[status_completion_key] = \
|
||||||
BuildComponent._total_completion(images, max(len(images), num_images))
|
BuildComponent._total_completion(images, max(len(images), num_images))
|
||||||
|
|
||||||
@trollius.coroutine
|
|
||||||
def _on_log_message(self, phase, json_data):
|
def _on_log_message(self, phase, json_data):
|
||||||
""" Tails log messages and updates the build status. """
|
""" Tails log messages and updates the build status. """
|
||||||
# Update the heartbeat.
|
# Update the heartbeat.
|
||||||
|
@ -359,7 +358,6 @@ class BuildComponent(BaseComponent):
|
||||||
|
|
||||||
self._component_status = phase
|
self._component_status = phase
|
||||||
|
|
||||||
@trollius.coroutine
|
|
||||||
def _on_heartbeat(self):
|
def _on_heartbeat(self):
|
||||||
""" Updates the last known heartbeat. """
|
""" Updates the last known heartbeat. """
|
||||||
if self._component_status == ComponentStatus.TIMED_OUT:
|
if self._component_status == ComponentStatus.TIMED_OUT:
|
||||||
|
|
Reference in a new issue