Change a typo to an enum
This commit is contained in:
parent
adce277d49
commit
3687419ab3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Reference in a new issue