1f28adbdd276a154b706b45c4acb09e1287a9c5f,src/python/pants/option/arg_splitter.py,ArgSplitter,split_args,#ArgSplitter#Any#,59

Before Change


      assign_flag_to_scope(flag, GLOBAL_SCOPE)
    scope, flags = self._consume_scope()
    while scope:
      scope_to_flags[scope].extend([])  // Force the scope to appear, even if empty.
      for flag in flags:
        assign_flag_to_scope(flag, scope)
      scope, flags = self._consume_scope()

After Change



    Returns a SplitArgs tuple.
    
    scope_to_flags = OrderedDict()

    def add_scope(s):
      // Force the scope to appear, even if empty.
      if s not in scope_to_flags:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 1f28adbdd276a154b706b45c4acb09e1287a9c5f
Time: 2014-11-10
Author: benjyw@gmail.com
File Name: src/python/pants/option/arg_splitter.py
Class Name: ArgSplitter
Method Name: split_args


Project Name: catalyst-team/catalyst
Commit Name: 3d02d0f840b970ce7460a72c0beef8a785b3c58c
Time: 2019-08-29
Author: scitator@gmail.com
File Name: catalyst/dl/core/state.py
Class Name: RunnerState
Method Name: __init__