#NEWLINE# def lorem_ipsum( self , ipsum_type ) : #NEWLINE# #INDENT# 'Create some random text for summary/description.' #NEWLINE# if ( ipsum_type == 'description' ) : #NEWLINE# #INDENT# max_size = DESCRIPTION_SIZE #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# max_size = SUMMARY_SIZE #NEWLINE# #UNINDENT# return ' ' . join ( ( random . choice ( LOREM_VOCAB ) for x in range ( 0 , max_size ) ) )