Skip to content

Instantly share code, notes, and snippets.

@doberloh
Created October 29, 2014 19:41
Show Gist options
  • Save doberloh/c9c141066cb51fdbd779 to your computer and use it in GitHub Desktop.
Save doberloh/c9c141066cb51fdbd779 to your computer and use it in GitHub Desktop.
Linode API response data back to uppercase
[{u'DATACENTERID': 2, u'LOCATION': u'Dallas, TX, USA', u'ABBR': u'dallas'}, {u'DATACENTERID': 3, u'LOCATION': u'Fremont, CA, USA', u'ABBR': u'fremont'}, {u'DATACENTERID': 4, u'LOCATION': u'Atlanta, GA, USA', u'ABBR': u'atlanta'}, {u'DATACENTERID': 6, u'LOCATION': u'Newark, NJ, USA', u'ABBR': u'newark'}, {u'DATACENTERID': 7, u'LOCATION': u'London, England, UK', u'ABBR': u'london'}, {u'DATACENTERID': 8, u'LOCATION': u'Tokyo, JP', u'ABBR': u'tokyo'}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment