diff options
author | Matt Clay <matt@mystile.com> | 2019-02-13 18:39:26 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-02-13 23:35:39 -0800 |
commit | 3e778d3f8f8c15181afc647a75f9825726bf687e (patch) | |
tree | 2cbb5ada34f722a1b17041f0f951925bbb4fc38e /contrib/inventory/azure_rm.py | |
parent | 7b8e814a10e0410dc9f26b83016a7f5086ced4d1 (diff) | |
download | ansible-3e778d3f8f8c15181afc647a75f9825726bf687e.tar.gz |
Fix pycodestyle E117 issues.
Diffstat (limited to 'contrib/inventory/azure_rm.py')
-rwxr-xr-x | contrib/inventory/azure_rm.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/inventory/azure_rm.py b/contrib/inventory/azure_rm.py index ba758b7e39..a83558cd49 100755 --- a/contrib/inventory/azure_rm.py +++ b/contrib/inventory/azure_rm.py @@ -354,13 +354,13 @@ class AzureRM(object): self.credentials.get('client_id') is not None and \ self.credentials.get('tenant') is not None: - self.azure_credentials = self.acquire_token_with_username_password( - self._adfs_authority_url, - self._resource, - self.credentials['ad_user'], - self.credentials['password'], - self.credentials['client_id'], - self.credentials['tenant']) + self.azure_credentials = self.acquire_token_with_username_password( + self._adfs_authority_url, + self._resource, + self.credentials['ad_user'], + self.credentials['password'], + self.credentials['client_id'], + self.credentials['tenant']) elif self.credentials.get('ad_user') is not None and self.credentials.get('password') is not None: tenant = self.credentials.get('tenant') @@ -813,7 +813,7 @@ class AzureInventory(object): sys.exit("Error: fetching instanceview for host {0} - {1}".format(name, str(exc))) return next((s.code.replace('PowerState/', '') - for s in vm.instance_view.statuses if s.code.startswith('PowerState')), None) + for s in vm.instance_view.statuses if s.code.startswith('PowerState')), None) def _add_host(self, vars): |