#NEWLINE# def _str_foreign_keys( self ) : #NEWLINE# #INDENT# keys = [ ] #NEWLINE# for col in self . foreign_keys : #NEWLINE# #INDENT# keys . append ( ( '%s.%s' % ( col . table , col . name ) ) ) #NEWLINE# #UNINDENT# if ( ( self . keys_per_column is not None ) and ( len ( keys ) > self . keys_per_column ) ) : #NEWLINE# #INDENT# keys = ( keys [ 0 : self . keys_per_column ] + [ '(+ {0} more)' . format ( ( len ( keys ) - self . keys_per_column ) ) ] ) #NEWLINE# #UNINDENT# return ', ' . join ( keys )