#NEWLINE# def _get_tables_stats( self , tables_dict ) : #NEWLINE# #INDENT# for t in tables_dict . keys ( ) : #NEWLINE# #INDENT# if ( type ( tables_dict [ t ] ) == dict ) : #NEWLINE# #INDENT# res = self . _run_query_internal ( ( 'select count(*) as cnt from %s' % tables_dict ) ) #NEWLINE# tables_dict [ t ] [ 'size' ] = res [ 0 ] [ 'cnt' ]