Modify the empty list ensure method.

Change-Id: I1634d0df96578eecba47e990c1228df1170bf91a
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This commit is contained in:
Yuanbin.Chen 2018-04-08 15:12:25 +08:00
parent fb9d12b021
commit 01c12d7626
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class AgentManager(cotyledon.Service):
self.extensions = list(itertools.chain(*list(extensions))) + list(
itertools.chain(*list(extensions_fb)))
if self.extensions == []:
if not self.extensions:
LOG.warning('No valid pollsters can be loaded from %s '
'namespaces', namespaces)