def on_add(self, project, name, **kwargs):
    """This handler adds the corresponding script file to the project."""
    if not 'merging' in kwargs:
      project.add_file(self.path)
dataset/ETHPy150Open mtth/azkaban/azkaban/ext/pig.py/PigJob.on_add/original