Use "is" instead of ==

This commit is contained in:
Gergely Czuczy 2015-08-04 01:24:07 +02:00
parent 1fda50c1dc
commit c64f9a4c8b

View File

@ -347,7 +347,7 @@ def create(vm_):
private_wds = config.get_cloud_config_value(
'private_windows', vm_, __opts__, default=False
)
if private_ssh or private_wds or public_vlan == None or public_vlan == False:
if private_ssh or private_wds or public_vlan is None or public_vlan is False:
ip_type = 'primaryBackendIpAddress'
def wait_for_ip():