fix omnitrace-install.py script (#258)

- handle blank lines in /etc/os-release

[ROCm/rocprofiler-systems commit: e580bc9186]
이 커밋은 다음에 포함됨:
Jonathan R. Madsen 작성하고 GitHub가 2023-03-16 14:50:32 -05:00를 커밋함
1 부모 a8c505c91d
커밋 6a8c757822
1 파일이 변경됨
+2
+2
파일 보기
@@ -58,6 +58,8 @@ def get_os_info(os_distrib, os_version):
_os_info = {}
with open("/etc/os-release", "r") as f:
for line in [_v.strip() for _v in f.readlines()]:
if "=" not in line:
continue
_key, _data = line.split("=", 1)
_os_info[_key] = _data.strip('"')