#NEWLINE# def _to_protocols_with_default_ports( self , object ) : #NEWLINE# #INDENT# protocols = [ ] #NEWLINE# for item in object [ 'protocols' ] : #NEWLINE# #INDENT# name = item [ 'name' ] . lower ( ) #NEWLINE# port = int ( item [ 'port' ] ) #NEWLINE# protocols . append ( ( name , port ) ) #NEWLINE# #UNINDENT# return protocols