Fixed newly introduced pylint errors

This commit is contained in:
Alexandru Bleotu 2016-12-12 05:29:39 -05:00
parent 7b0f6df8d8
commit 9314e4ab62

View File

@ -1147,7 +1147,7 @@ def get_hosts(service_instance, datacenter_name=None, host_names=None,
# ignored
cluster_condition = \
(not datacenter_name or not cluster_name or
(isinstance(h['parent'], vim.ClusterComputeResource) and
(isinstance(h['parent'], vim.ClusterComputeResource) and
h['parent'].name == cluster_name))
if name_condition and cluster_condition: