'indent the given line according to the current indent level.
stripspace is a string of space that will be truncated from the
start of the line before indenting.'

def _indent_line(self, line, stripspace=''):

    return re.sub(('^%s' % stripspace), (self.indentstring * self.indent), line)
