#NEWLINE# def __nodeSummary( node ) : #NEWLINE# #INDENT# parameterised = node . getParameterised ( ) [ 0 ] #NEWLINE# if ( not isinstance ( parameterised , IECore . Op ) ) : #NEWLINE# #INDENT# return '' #NEWLINE# #UNINDENT# node . parameterHandler ( ) . setParameterValue ( ) #NEWLINE# parameterValues = IECore . ParameterParser ( ) . serialise ( parameterised . parameters ( ) ) #NEWLINE# parameterValues = ' ' . join ( [ ( pipes . quote ( x ) if x else "''" ) for x in parameterValues ] ) #NEWLINE# return ( 'Command line equivalent : \n\ngaffer op %s -version %d -arguments %s' % ( parameterised . path , parameterised . version , parameterValues ) )