def get_lsb_release(): try: get('/etc/lsb-release', '{}/lsb-release-{}.dat'.format(env.DATDIR, env.host)) except NetworkError as ex: print(str(ex))