Remove unnecessary pass statement (#61749)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/62337/head
Abhijeet Kasurde 5 years ago committed by GitHub
parent a680ff2ade
commit 92099d7f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -340,7 +340,6 @@ class AzureRMIoTDeviceModule(AzureRMModuleBase):
url = '/devices/{0}/modules/{1}'.format(self.device, self.name)
return self._https_get(url, self.query_parameters, self.header_parameters)
except Exception:
pass
return None
def get_twin(self):

@ -819,7 +819,6 @@ class AzureRMIoTHub(AzureRMModuleBase):
try:
return self.IoThub_client.iot_hub_resource.get(self.resource_group, self.name)
except Exception:
pass
return None
def create_or_update_hub(self, hub):

@ -328,7 +328,6 @@ class AzureRMSnapshots(AzureRMModuleBaseExt):
response = json.loads(response.text)
except Exception:
response = {'text': response.text}
pass
return response

Loading…
Cancel
Save