#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# unit = ( 'in.' if ( self . settings . units == 'inch' ) else 'mm' ) #NEWLINE# fmtstr = ( '<ExcellonTool %%02d: %%%d.%dg%%s dia.>' % self . settings . format ) #NEWLINE# return ( fmtstr % ( self . number , self . diameter , unit ) )