#NEWLINE# def get_raw_file_content( repo , tree , path ) : #NEWLINE# #INDENT# git_obj = get_object_from_path ( repo , tree , path ) #NEWLINE# if ( git_obj . type != GIT_OBJ_BLOB ) : #NEWLINE# #INDENT# raise BadRequest ( 'path resolved to non-blob object' ) #NEWLINE# #UNINDENT# return git_obj . data