This commit is contained in:
ahmadbilalkhalid 2019-08-28 13:22:50 +05:00
parent 2f2c261b65
commit 4f8d3a1485
2 changed files with 28 additions and 27 deletions

View file

@ -96,6 +96,7 @@ def get_distro_name():
start = content.find("ID=") + 3 start = content.find("ID=") + 3
end = content.find("\n", start) end = content.find("\n", start)
distro_name = content[start:end] distro_name = content[start:end]
print(distro_name)
return distro_name return distro_name
class PackageManagementOperation(object): class PackageManagementOperation(object):