862eae06cb481e65c5a155aa61d90b9b7920ad7a,contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_run.py,CppRun,execute,#CppRun#,31

Before Change


      with self.context.new_workunit(name="cpp-run", labels=[WorkUnitLabel.RUN]) as workunit:
        cmd = [self.context.products.get_only("exe", binary_target)]

        args = self.get_options().args + self.get_passthru_args()
        if args != None:
          cmd.extend(args)

        self.run_command(cmd, workunit)

After Change


      with self.context.new_workunit(name="cpp-run", labels=[WorkUnitLabel.RUN]) as workunit:
        cmd = [
          self.context.products.get_only("exe", binary_target),
          *self.get_passthru_args(),
          *self.get_options().args,
        ]
        self.run_command(cmd, workunit)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 862eae06cb481e65c5a155aa61d90b9b7920ad7a
Time: 2020-02-06
Author: ericarellano@me.com
File Name: contrib/cpp/src/python/pants/contrib/cpp/tasks/cpp_run.py
Class Name: CppRun
Method Name: execute


Project Name: pantsbuild/pants
Commit Name: e5d22e3094e0cf8558e9659841b13644299b00c7
Time: 2018-03-14
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/tasks/pytest_run.py
Class Name: PytestRun
Method Name: _run_pytest


Project Name: pantsbuild/pants
Commit Name: 45e4e6bb334e4b82b61c126f84c5d13e04dcbbf5
Time: 2016-10-24
Author: wisechengyi@gmail.com
File Name: src/python/pants/backend/python/tasks/python_isort.py
Class Name: IsortPythonTask
Method Name: execute