def lsb_release():
with settings(hide('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'),<EOL>warn_only=True, capture=True):<EOL><INDENT>_lsb_release = {}<EOL>data = run('<STR_LIT>')<EOL>for line in data.split('<STR_LIT:\n>'):<EOL><INDENT>if not line:<EOL><INDENT>continue<EOL><DEDENT>parts = line.split('<STR_LIT:=>')<EOL>if len(parts) == <NUM_LIT:2>:<EOL><INDENT>_lsb_release[parts[<NUM_LIT:0>]] = parts[<NUM_LIT:1>].strip('<STR_LIT>')<EOL><DEDENT><DEDENT>return _lsb_release<EOL><DEDENT>
returns /etc/lsb-release in a dictionary