'Unfold several folded lines with trailing space into one line'

def _unfoldLDIFLine(self):

    unfolded_lines = [self._stripLineSep(self._line)]
    self._line = self._input_file.readline()
    while (self._line and (self._line[0] == '    ')):
        unfolded_lines.append(self._stripLineSep(self._line[1:]))
        self._line = self._input_file.readline()
    return ''.join(unfolded_lines)
