#NEWLINE# def _read_possible_json( serialized , info_file ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# d = jsonutils . loads ( serialized ) #NEWLINE# #UNINDENT# except ValueError as e : #NEWLINE# #INDENT# LOG . error ( _LE ( 'Error reading image info file %(filename)s: %(error)s' ) , { #NEWLINE# #INDENT# 'filename' : serialized , #NEWLINE# 'error' : e , #NEWLINE# #UNINDENT# } ) #NEWLINE# d = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return d