def _SuffixName(name, suffix):
  """Add a suffix to the end of a target.

  Arguments:
    name: name of the target (foo#target)
    suffix: the suffix to be added
  Returns:
    Target name with suffix added (foo_suffix#target)
  """
  parts = name.rsplit('#', 1)
  parts[0] = (parts[0], suffix) % '%s_%s'
  return '#'.join(parts)
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/MSVSUtil.py/_SuffixName/swapped operands of `%`