Remove unnecessary pass (#58620)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
c3978fed4b
commit
540ceb8622
3 changed files with 0 additions and 3 deletions
|
@ -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…
Reference in a new issue