a
This commit is contained in:
parent
4f8d3a1485
commit
0752fdb5e4
1 changed files with 1 additions and 2 deletions
|
@ -96,7 +96,6 @@ def get_distro_name():
|
|||
start = content.find("ID=") + 3
|
||||
end = content.find("\n", start)
|
||||
distro_name = content[start:end]
|
||||
print(distro_name)
|
||||
return distro_name
|
||||
|
||||
class PackageManagementOperation(object):
|
||||
|
@ -109,7 +108,7 @@ class PackageManagementOperation(object):
|
|||
else:
|
||||
assert "Unknown Distro"
|
||||
|
||||
subprocess.check_output(distro)
|
||||
subprocess.check_output(distro.split())
|
||||
except Exception as e:
|
||||
print(e)
|
||||
return Result(e, ResultType.failure, inspect.currentframe().f_code.co_name)
|
||||
|
|
Loading…
Reference in a new issue