'Parse the output of the lsb_release command.
Parameters:
* lines: Iterable through the lines of the lsb_release output.
Each line must be a unicode string or a UTF-8 encoded byte
string.
Returns:
A dictionary containing all information items.'

@staticmethod
def _parse_lsb_release_content(lines):

    props = {}
    for line in lines:
        line = (line.decode('utf-8') if isinstance(line, bytes) else line)
        kv = line.strip('\n').split(':', 1)
        if (len(kv) != 2):
            continue
        (k, v) = kv
        props.update({k.replace('    ', '_').lower(): v.strip()})
    return props
