def _SuffixName(name, suffix):
 parts = name.rsplit('#', 1)
 parts[0] = ('%s_%s' % (parts[0], suffix))
 return '#'.join(parts)

def _SuffixName ( name , suffix ) : parts = name . rsplit ( '#' , 1 ) parts [ 0 ] = ( '%s_%s' % ( parts [ 0 ] , suffix ) ) return '#' . join ( parts )
add a suffix to the end of a target .