summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
36dd812)
OAM-241
Signed-off-by: Arif Hussain <arif.hussain@xoriant.com>
Change-Id: I849b334462b8f24fd5c8c71d9591db6ef12ea2a7
# catastrophic error. bail.
raise SystemExit(e)
# catastrophic error. bail.
raise SystemExit(e)
- if response.status_code >= 200 and response.status_code < 300:
+ if response.status_code >= 200 and response.status_code <= 500:
print(response)
else:
sys.exit('Reading VES "stndDefined" message template failed.')
print(response)
else:
sys.exit('Reading VES "stndDefined" message template failed.')
with open(outputFileName, 'w') as f:
json.dump(data['body'], f, indent=2, sort_keys=True)
else:
with open(outputFileName, 'w') as f:
json.dump(data['body'], f, indent=2, sort_keys=True)
else:
- print("Example could not been saved:\n" + json.dump(data, f, indent=2, sort_keys=True))
-
\ No newline at end of file
+ print("Example could not been saved:\n" + json.dump(data, f, indent=2, sort_keys=True))