components/policy/tools/template_writers/policy_template_generator.py
def _IterateLeadingSpaces(self, lines):
    '''Yields the number of leading spaces on each line, skipping lines which
    have no leading spaces.'''
    for line in lines:
      match = re.search('^[ ]+', line)
      if match:
        yield len(match.group(0))
Yields the number of leading spaces on each line, skipping lines which
    have no leading spaces.
Yields the number of leading spaces on each line, skipping lines which
have no leading spaces.
Yields the number of leading spaces on each line skipping lines which have no leading spaces .
def _IterateLeadingSpaces(self, lines):
    for line in lines:
      match = re.search('^[ ]+', line)
      if match:
        yield len(match.group(0))
def _IterateLeadingSpaces ( self , lines ) : for line in lines : match = re . search ( '^[ ]+' , line ) if match : yield len ( match . group ( 0 ) )
Yields the number of leading spaces on each line, skipping lines which
have no leading spaces.
Yields the number of leading spaces on each line skipping lines which have no leading spaces .
'''Yields the number of leading spaces on each line, skipping lines which
    have no leading spaces.'''
self
lines