unattended_upgrades_repos icon indicating copy to clipboard operation
unattended_upgrades_repos copied to clipboard

distro.linux_distribution() is deprecated

Open DavidPetrasek opened this issue 1 year ago • 2 comments

..../path_to_file/unattended_upgrades_repos.py:47: DeprecationWarning: distro.linux_distribution() is deprecated. It should only be used as a compatibility shim with Python's platform.linux_distribution(). Please use distro.id(), distro.version() and distro.name() instead. distro_id, _, distro_codename = distro.linux_distribution()

DavidPetrasek avatar Dec 18 '23 19:12 DavidPetrasek

Can you make a pull request. I'd be happy to merge it.

abhigenie92 avatar Dec 28 '23 11:12 abhigenie92

Unfortunately, I do not know Python at all so I leave it to someone else. It's not a big issue, because it's working fine.

DavidPetrasek avatar Dec 28 '23 11:12 DavidPetrasek