zulip: Replace deprecated distro.linux_distribution.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
48c6e404de
commit
2675715ecb
1 changed files with 2 additions and 1 deletions
|
@ -548,7 +548,8 @@ class Client:
|
|||
pass
|
||||
|
||||
if vendor == "Linux":
|
||||
vendor, vendor_version, dummy = distro.linux_distribution()
|
||||
vendor = distro.name()
|
||||
vendor_version = distro.version()
|
||||
elif vendor == "Windows":
|
||||
vendor_version = platform.win32_ver()[1]
|
||||
elif vendor == "Darwin":
|
||||
|
|
Loading…
Add table
Reference in a new issue