347e68a37421aa2282c31a07559dcb28b7e52e64,src/python/pants/option/options.py,Options,for_scope,#Options#Any#,214
Before Change
if scope == GLOBAL_SCOPE:
values = OptionValueContainer()
else:
values = copy.deepcopy(self.for_scope(scope.rpartition(".")[0]))
// Now add our values.
flags_in_scope = self._scope_to_flags.get(scope, [])
After Change
if scope == GLOBAL_SCOPE:
values = OptionValueContainer()
else:
values = copy.deepcopy(self.for_scope(enclosing_scope(scope)))
// Now add our values.
flags_in_scope = self._scope_to_flags.get(scope, [])
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 347e68a37421aa2282c31a07559dcb28b7e52e64
Time: 2015-08-25
Author: benjyw@gmail.com
File Name: src/python/pants/option/options.py
Class Name: Options
Method Name: for_scope
Project Name: pantsbuild/pants
Commit Name: 07f0235fced6823134839c81e52fcd0e735c9ab9
Time: 2015-09-22
Author: wangpeiyu@gmail.com
File Name: tests/python/pants_test/option/util/fakes.py
Class Name:
Method Name: create_options_for_optionables
Project Name: pantsbuild/pants
Commit Name: 347e68a37421aa2282c31a07559dcb28b7e52e64
Time: 2015-08-25
Author: benjyw@gmail.com
File Name: src/python/pants/option/options.py
Class Name: Options
Method Name: get_fingerprintable_for_scope
Project Name: pantsbuild/pants
Commit Name: 347e68a37421aa2282c31a07559dcb28b7e52e64
Time: 2015-08-25
Author: benjyw@gmail.com
File Name: src/python/pants/option/parser_hierarchy.py
Class Name: ParserHierarchy
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: 347e68a37421aa2282c31a07559dcb28b7e52e64
Time: 2015-08-25
Author: benjyw@gmail.com
File Name: src/python/pants/option/options.py
Class Name: Options
Method Name: complete_scopes