mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-05 06:00:58 +03:00
Removed unused function
This commit is contained in:
parent
6c1553e4fb
commit
a4f06b93f9
|
@ -368,14 +368,6 @@ else:
|
||||||
IMCONVERT = "convert"
|
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:
|
class cached_property:
|
||||||
def __init__(self, func):
|
def __init__(self, func):
|
||||||
self.func = func
|
self.func = func
|
||||||
|
|
Loading…
Reference in New Issue
Block a user