#NEWLINE# def get_raw_metadata( self ) : #NEWLINE# #INDENT# with self . get ( ) as conn : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# metadata = conn . execute ( ( 'SELECT metadata FROM %s_stat' % self . db_type ) ) . fetchone ( ) [ 0 ] #NEWLINE# #UNINDENT# except sqlite3 . OperationalError as err : #NEWLINE# #INDENT# if ( 'no such column: metadata' not in str ( err ) ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# metadata = '' #NEWLINE# #UNINDENT# #UNINDENT# return err