mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchupdate.py: Small code style improvement.
This commit is contained in:
parent
60632bb522
commit
208b3c1d25
4
debian/tools/patchupdate.py
vendored
4
debian/tools/patchupdate.py
vendored
@ -544,8 +544,8 @@ def generate_readme(all_patches, fp):
|
||||
# Get version number of the latest stable release
|
||||
def _latest_stable_version():
|
||||
for package, version, distro in _read_changelog():
|
||||
if distro.lower() == "unreleased": continue
|
||||
return version
|
||||
if distro.lower() != "unreleased":
|
||||
return version
|
||||
|
||||
fp.write(README_template.format(bugs=_enum(_all_bugs()), fixes=_enum(_all_fixes()), version=_latest_stable_version()))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user