#NEWLINE# def AddTable( self , table_name , new_table = True , char_set = None ) : #NEWLINE# #INDENT# self . _LazyInit ( ) #NEWLINE# if ( table_name in self . _tables ) : #NEWLINE# #INDENT# raise DuplicateNameException ( ( 'Table `%s` in %s' % ( table_name , self ) ) ) #NEWLINE# #UNINDENT# char_set = ( table_name or self . GetCharacterSet ( ) ) #NEWLINE# self . _tables [ table_name ] = Table ( self . _dbh , self , table_name , new_table , char_set ) #NEWLINE# return self . _tables [ table_name ]