def collectItem(self, targetPath, item):
    Tools.makePath(targetPath)
    path = self.config.getRelativePath(item)
    
    if not os.path.exists(path):
      Log.error(path % "Project file '%s' not found.")
      return
    
    if not int(item.attrs.get("copy", 1)):
      return path
      
    name = os.path.basename(path)
    shutil.copyfile(path, os.path.join(targetPath, name))
    return name
dataset/ETHPy150Open skyostil/tracy/src/generator/Platform.py/Build.collectItem/swapped operands of `%`