#NEWLINE# def get_auth_from_file( ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# with open ( TOKEN_FILE ) as token_file : #NEWLINE# #INDENT# auth_ref = json . load ( token_file ) #NEWLINE# #UNINDENT# return auth_ref #NEWLINE# #UNINDENT# except IOError as e : #NEWLINE# #INDENT# if ( e . errno == errno . ENOENT ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# status_err ( e )