#NEWLINE# def items( self ) : #NEWLINE# #INDENT# ( apps , versions ) = get_versions ( order = ( 'application' , '-version_int' ) ) #NEWLINE# return [ ( app , version ) for app in apps for version in versions [ app . id ] [ : 3 ] ] #NEWLINE# return [ ( app , versions [ app . id ] [ : 3 ] ) for app in apps ]