Skip to content

Instantly share code, notes, and snippets.

@buggtb
Created March 7, 2016 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save buggtb/ec2b9d5abb77c058b46e to your computer and use it in GitHub Desktop.
Save buggtb/ec2b9d5abb77c058b46e to your computer and use it in GitHub Desktop.
unit = self.d.sentry.unit['pdi/0']
print(unit['workload-status'].get('message')
'UnitSentry' object is not subscriptable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment