mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
@@ -258,11 +258,11 @@ try:
|
||||
import azure as windows_azure
|
||||
|
||||
if hasattr(windows_azure, '__version__') and LooseVersion(windows_azure.__version__) <= "0.11.1":
|
||||
from azure import WindowsAzureError as AzureException
|
||||
from azure import WindowsAzureMissingResourceError as AzureMissingException
|
||||
from azure import WindowsAzureError as AzureException
|
||||
from azure import WindowsAzureMissingResourceError as AzureMissingException
|
||||
else:
|
||||
from azure.common import AzureException as AzureException
|
||||
from azure.common import AzureMissingResourceHttpError as AzureMissingException
|
||||
from azure.common import AzureException as AzureException
|
||||
from azure.common import AzureMissingResourceHttpError as AzureMissingException
|
||||
|
||||
from azure.servicemanagement import (ServiceManagementService, OSVirtualHardDisk, SSH, PublicKeys,
|
||||
PublicKey, LinuxConfigurationSet, ConfigurationSetInputEndpoints,
|
||||
|
||||
@@ -508,7 +508,7 @@ class AzureRMNetworkInterface(AzureRMModuleBase):
|
||||
id=pip.id,
|
||||
location=pip.location,
|
||||
resource_guid=pip.resource_guid)
|
||||
#name=pip.name,
|
||||
#name=pip.name,
|
||||
|
||||
if results['network_security_group'].get('id'):
|
||||
nsg = self.get_security_group(results['network_security_group']['name'])
|
||||
|
||||
@@ -605,7 +605,7 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
|
||||
self.log("Using image version {0}".format(self.image['version']))
|
||||
|
||||
if not self.storage_blob_name:
|
||||
self.storage_blob_name = self.name + '.vhd'
|
||||
self.storage_blob_name = self.name + '.vhd'
|
||||
|
||||
if self.storage_account_name:
|
||||
self.get_storage_account(self.storage_account_name)
|
||||
|
||||
Reference in New Issue
Block a user