e3073f0fd4cc62fef7bfbca23ffd360e2d6c8a6a,src/python/twitter/pants/commands/goal.py,List,execute,#List#Any#,87

Before Change


        documented_rows.append((phase.name, phase.description))
        max_width = max(max_width, len(phase.name))
      elif self.context.options.goal_list_all:
        undocumented.append(phase.name)
    for name, description in documented_rows:
      print("  %s: %s" % (name.rjust(max_width), description))
    if undocumented:
      print("\nUndocumented goals:\n  %s" % " ".join(undocumented))

After Change


    phases = [Phase(name) for name in names]
    Phase.setup_parser(parser, [], phases)
    options, _ = parser.parse_args([])
    context = Context(context.config, options, context.run_tracker, context.target_roots,
                      requested_goals=list(names))
    return cls._execute(context, phases, print_timing=False)

  @staticmethod
  def _execute(context, phases, print_timing):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: e3073f0fd4cc62fef7bfbca23ffd360e2d6c8a6a
Time: 2014-02-11
Author: jsirois@twitter.com
File Name: src/python/twitter/pants/commands/goal.py
Class Name: List
Method Name: execute


Project Name: sony/nnabla
Commit Name: 699ce9a0d6e19852f5d6171f86265b718bc860f8
Time: 2021-03-01
Author: woody.li@sony.com
File Name: python/src/nnabla/utils/save.py
Class Name:
Method Name: create_proto


Project Name: jazzband/django-debug-toolbar
Commit Name: d85509edab8290666d056ba5f0a9423feceb64d5
Time: 2008-09-07
Author: rob@cogit8.org
File Name: debug_toolbar/panels/sql.py
Class Name: SQLDebugPanel
Method Name: content