#NEWLINE# def _blueprint( secret , name ) : #NEWLINE# #INDENT# "\n    Fetch a blueprint from S3 and turn it into a real Blueprint object.\n\n    The name can't be given as a kwarg or Blueprint.__init__ will go\n    looking for the JSON in Git.\n    " #NEWLINE# data = backend . get_blueprint ( secret , name ) #NEWLINE# if ( data is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( data is False ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# b = Blueprint ( ) #NEWLINE# b . name = data #NEWLINE# b . update ( json . loads ( data ) ) #NEWLINE# return b