Remove unnecessary pass (#58620)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/58622/head
Abhijeet Kasurde 5 years ago committed by Martin Krizek
parent c3978fed4b
commit 540ceb8622

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

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

@ -403,7 +403,6 @@ class AzureRMGalleryImageVersions(AzureRMModuleBaseExt):
response = json.loads(response.text) response = json.loads(response.text)
except Exception: except Exception:
response = {'text': response.text} response = {'text': response.text}
pass
while response['properties']['provisioningState'] == 'Creating': while response['properties']['provisioningState'] == 'Creating':
time.sleep(60) time.sleep(60)

Loading…
Cancel
Save