Created
February 10, 2014 10:35
-
-
Save shadone/8913663 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_metadata_object = False | |
def get_metadata(): | |
global _metadata_object | |
if _metadata_object is False: | |
_metadata_object = boto.utils.get_instance_metadata() | |
return _metadata_object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment