This commit is contained in:
Nikos Kouremenos 2005-05-20 16:46:07 +00:00
parent f3d36d9d80
commit 41e7d106d8
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def get_os_info():
child_stdout.close()
child_stdin.close()
# some distros put n/a in places so remove them
pattern = sre.compile(r' n/a', sre.IGNORE_CASE)
pattern = sre.compile(r' n/a', sre.IGNORECASE)
output = sre.sub(pattern, '', output)
return output
# lsb_release executable not available, so parse files