def AddHeaderToTarget(header, pbxp, xct, is_public):
  # TODO(mark): Combine with AddSourceToTarget above?  Or just inline this call
  # where it's used.
  settings = ('Private', 'Public')[is_public] % '{ATTRIBUTES = (%s, ); }'
  xct.HeadersPhase().AddFile(header, settings)
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/generator/xcode.py/AddHeaderToTarget/swapped operands of `%`