1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

👌 Replace deprecated distro.linux_distribution with distro.codename

This commit is contained in:
Gustl22
2022-01-01 19:52:02 +01:00
parent 65c621d050
commit 96d7b6b13a

View File

@@ -821,7 +821,7 @@ def gen_tarball():
arch = 'i386'
# determine linux distribution
distribution = distro.linux_distribution()[-1].replace(' ', '-')
distribution = distro.codename().replace(' ', '-').lower()
dbg = ''
if conf[CONF_NO_STRIP]: