Fix infrequent PEP 8 issues.

This commit is contained in:
Matt Clay
2017-01-27 13:04:59 -08:00
parent 13fc909058
commit 63b1e0c277
31 changed files with 41 additions and 50 deletions

View File

@@ -270,7 +270,7 @@ def main():
if not module.params['provider_physical_network']:
module.fail_json(msg = " for vlan and flat networks, variable provider_physical_network should be set.")
if module.params['provider_network_type'] in ['vlan', 'gre']:
if module.params['provider_network_type'] in ['vlan', 'gre']:
if not module.params['provider_segmentation_id']:
module.fail_json(msg = " for vlan & gre networks, variable provider_segmentation_id should be set.")