From 208b3c1d25e42fdb82f9044fdacb102dba824b86 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 25 Jul 2014 21:59:34 +0200 Subject: [PATCH] patchupdate.py: Small code style improvement. --- debian/tools/patchupdate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/tools/patchupdate.py b/debian/tools/patchupdate.py index 6976df0c..c6466c35 100755 --- a/debian/tools/patchupdate.py +++ b/debian/tools/patchupdate.py @@ -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()))