Skip to content

Instantly share code, notes, and snippets.

@ryandotclair
Created December 11, 2015 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryandotclair/e130c4e54a1b35aa1c2b to your computer and use it in GitHub Desktop.
Save ryandotclair/e130c4e54a1b35aa1c2b to your computer and use it in GitHub Desktop.
try2_sr.py
if 'message' in symmetrix_list_response:
# I've seen an issue where Unisphere returns a message of "No Symmetrix's found.
message = symmetrix_list_response.get('message')
logger.critical(message)
sys.exit(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment