Removed unused function

This commit is contained in:
Andrew Murray 2020-01-14 19:40:21 +11:00
parent 6c1553e4fb
commit a4f06b93f9

View File

@ -368,14 +368,6 @@ else:
IMCONVERT = "convert"
def distro():
if os.path.exists("/etc/os-release"):
with open("/etc/os-release", "r") as f:
for line in f:
if "ID=" in line:
return line.strip().split("=")[1]
class cached_property:
def __init__(self, func):
self.func = func