#NEWLINE# def _make_print_data( gid , name , description , user_id , project_id , status , keypairs = None , securitygroups = None , networks = None , proxy = None , processes = None ) : #NEWLINE# #INDENT# columns = [ 'gid' , 'name' , 'description' , 'user_id' , 'project_id' , 'status' ] #NEWLINE# data = [ gid , name , description , user_id , project_id , status ] #NEWLINE# if ( keypairs is not None ) : #NEWLINE# #INDENT# columns . append ( 'keypairs' ) #NEWLINE# data . append ( keypairs ) #NEWLINE# #UNINDENT# if ( description is not None ) : #NEWLINE# #INDENT# columns . append ( 'securitygroups' ) #NEWLINE# data . append ( securitygroups ) #NEWLINE# #UNINDENT# if ( networks is not None ) : #NEWLINE# #INDENT# columns . append ( 'networks' ) #NEWLINE# data . append ( networks ) #NEWLINE# #UNINDENT# if ( proxy is not None ) : #NEWLINE# #INDENT# columns . append ( 'proxy' ) #NEWLINE# data . append ( proxy ) #NEWLINE# #UNINDENT# if ( processes is not None ) : #NEWLINE# #INDENT# columns . append ( 'processes' ) #NEWLINE# data . append ( processes ) #NEWLINE# #UNINDENT# return ( columns , data )