]> git.ipfire.org Git - thirdparty/systemd.git/commit
check-os-release.py compatible with Python < 3.8
authorDavid Jaša <jasa.david@gmail.com>
Tue, 23 Aug 2022 21:58:09 +0000 (23:58 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 24 Aug 2022 03:08:17 +0000 (12:08 +0900)
commitce0a056abc41168e1b45537505ca9f65bf6f5c30
tree5eaea582b520a1d559974cd08ddf701ba7fb594a
parent1afe3d712eaaca73d33da9f27b2a965589c6c842
check-os-release.py compatible with Python < 3.8

The ":=" operator was only added in Python 3.8 so splitting the line with it into two makes check-os-release.py actually fulfill its claim of working with any python version.
man/check-os-release.py