sandbox/policy/mac/generate_params.py
def _process_policy_files(files):
    """Iterates the files in |files|, parsing out parameter definitions, and
    yields the name-value pair.
    """
    for sb_file in files:
        with open(sb_file, 'r') as f:
            for line in f:
                comment_start = line.find(';')
                if comment_start != -1:
                    line = line[:comment_start]
                match = DEFINE_RE.match(line)
                if match:
                    groups = match.groups()
                    yield (groups[0], groups[1])
Iterates the files in |files|, parsing out parameter definitions, and
    yields the name-value pair.
    
Iterates the files in |files|, parsing out parameter definitions, and
yields the name-value pair.
Iterates the files in |files| parsing out parameter definitions and yields the name - value pair .
def _process_policy_files(files):
    for sb_file in files:
        with open(sb_file, 'r') as f:
            for line in f:
                comment_start = line.find(';')
                if comment_start != -1:
                    line = line[:comment_start]
                match = DEFINE_RE.match(line)
                if match:
                    groups = match.groups()
                    yield (groups[0], groups[1])
def _process_policy_files ( files ) : for sb_file in files : with open ( sb_file , 'r' ) as f : for line in f : comment_start = line . find ( ';' ) if comment_start != - 1 : line = line [ : comment_start ] match = DEFINE_RE . match ( line ) if match : groups = match . groups ( ) yield ( groups [ 0 ] , groups [ 1 ] )
Iterates the files in |files|, parsing out parameter definitions, and
yields the name-value pair.
Iterates the files in |files| parsing out parameter definitions and yields the name - value pair .
"""Iterates the files in |files|, parsing out parameter definitions, and
    yields the name-value pair.
    """
files