summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-03-26 15:32:35 +0200
committerMart Raudsepp <leio@gentoo.org>2019-03-26 15:33:01 +0200
commit22171dc148f87e3d21219783db41521c0ac15323 (patch)
treec870ce0ee09112c3a1f607536725563a30acafe7
parentAdd workaround for packages with only one version component (diff)
downloadgentoo-bumpchecker-22171dc148f87e3d21219783db41521c0ac15323.tar.gz
gentoo-bumpchecker-22171dc148f87e3d21219783db41521c0ac15323.tar.bz2
gentoo-bumpchecker-22171dc148f87e3d21219783db41521c0ac15323.zip
gnome: Fix syntax error in a rare warning path message
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
-rw-r--r--modules/gnome_module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gnome_module.py b/modules/gnome_module.py
index a9fd306..22ab10a 100644
--- a/modules/gnome_module.py
+++ b/modules/gnome_module.py
@@ -94,7 +94,7 @@ class GNOME:
print("Warning: unknown cache.json version for package %s" % name)
continue
if pkg.major_minor not in data[3]:
- print("Warning: can't find latest version for %s-%s" % (name, pkg.major-minor))
+ print("Warning: can't find latest version for %s-%s" % (name, pkg.major_minor))
continue
major_minor = pkg.major_minor
if pkg.major != "0" and pkg.minor.isdigit() and int(pkg.minor) % 2 and "%s.%d" % (pkg.major, int(pkg.minor)+1) in data[3]: