Change a typo to an enum

This commit is contained in:
Jake Moshenko 2015-02-02 12:24:32 -05:00
parent adce277d49
commit 3687419ab3

View file

@ -294,7 +294,7 @@ class BuildComponent(BaseComponent):
version)
raise trollius.Return(False)
if self._component_status != 'waiting5':
if self._component_status != ComponentStatus.WAITING:
logger.warning('Build component (token "%s") is already connected', self.expected_token)
raise trollius.Return(False)