From 1195e3ec7c0f0c9f773f2a6207468c32ae6bba40 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Wed, 24 Jun 2015 17:38:29 -0400 Subject: [PATCH] buildman: rm coroutine decorator from subscribers Python isn't able to figure out that these are generators and properly handle theme. --- buildman/component/buildcomponent.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/buildman/component/buildcomponent.py b/buildman/component/buildcomponent.py index 77aa0d3b0..c5fe8a24a 100644 --- a/buildman/component/buildcomponent.py +++ b/buildman/component/buildcomponent.py @@ -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: