82b8aff167e3528fc2a559e81aeb8863328162fb,src/python/pants/commands/goal_runner.py,GoalRunner,get_spec_excludes,#GoalRunner#,73
Before Change
super(GoalRunner, self).__init__(*args, needs_old_options=False, **kwargs)
def get_spec_excludes(self):
spec_excludes = self.config.getlist(Config.DEFAULT_SECTION, "spec_excludes", default=None)
if spec_excludes is None:
return [self.config.getdefault("pants_workdir")]
return [os.path.join(self.root_dir, spec_exclude) for spec_exclude in spec_excludes]
After Change
def get_spec_excludes(self):
// Note: Only call after register_options() has been called.
return [os.path.join(self.root_dir, spec_exclude)
for spec_exclude in self.new_options.for_global_scope().spec_excludes ]
@property
def global_options(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: 82b8aff167e3528fc2a559e81aeb8863328162fb
Time: 2014-11-23
Author: benjyw@gmail.com
File Name: src/python/pants/commands/goal_runner.py
Class Name: GoalRunner
Method Name: get_spec_excludes
Project Name: pantsbuild/pants
Commit Name: e325cf77311e9a542a22c1b78e5cac518b83fcf4
Time: 2015-05-15
Author: benjyw@gmail.com
File Name: src/python/pants/bin/goal_runner.py
Class Name: GoalRunner
Method Name: setup
Project Name: pantsbuild/pants
Commit Name: e40de9b622e17c8685f44cb2503bf8452be07f25
Time: 2015-01-09
Author: zundel@squareup.com
File Name: src/python/pants/bin/goal_runner.py
Class Name: GoalRunner
Method Name: setup