From 599c9d37dd28eefcc782e66ff76baa455358f1c1 Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Tue, 13 Nov 2018 14:46:16 -0800 Subject: [PATCH] Get '.strip()' right --- bootstrap/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 255bdb3..2424ae6 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -29,7 +29,7 @@ def get_os_release_variable(key): return subprocess.check_output([ '/bin/bash', '-c', "source /etc/os-release && echo ${{{key}}}".format(key=key) - ]).decode().trim() + ]).decode().strip() def main():