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:
Jimmy Zelinskie 2015-06-24 17:38:29 -04:00
parent 62bced4147
commit 1195e3ec7c

View file

@ -194,7 +194,6 @@ class BuildComponent(BaseComponent):
status_dict[status_completion_key] = \
BuildComponent._total_completion(images, max(len(images), num_images))
@trollius.coroutine
def _on_log_message(self, phase, json_data):
""" Tails log messages and updates the build status. """
# Update the heartbeat.
@ -359,7 +358,6 @@ class BuildComponent(BaseComponent):
self._component_status = phase
@trollius.coroutine
def _on_heartbeat(self):
""" Updates the last known heartbeat. """
if self._component_status == ComponentStatus.TIMED_OUT: