#NEWLINE# def read_floo_file( path ) : #NEWLINE# #INDENT# floo_file = os . path . join ( path , '.floo' ) #NEWLINE# info = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# try : #NEWLINE# #INDENT# floo_info = open ( floo_file , 'rb' ) . read ( ) . decode ( 'utf-8' ) #NEWLINE# info = json . loads ( floo_info ) #NEWLINE# #UNINDENT# except ( IOError , OSError ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# msg . warn ( "Couldn't read .floo file: " , floo_file , ': ' , str_e ( floo_file ) ) #NEWLINE# #UNINDENT# return info