[elbe-devel] [PATCH 5/6] check_updates: fixup the botched output
Torben Hohn
torben.hohn at linutronix.de
Mon Jul 8 16:27:12 CEST 2019
we really want the package name to be the first element of this print.
this got broken, when the xp package got introduced.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/commands/check_updates.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/commands/check_updates.py b/elbepack/commands/check_updates.py
index 7d446228c..4ae9e6d05 100644
--- a/elbepack/commands/check_updates.py
+++ b/elbepack/commands/check_updates.py
@@ -120,7 +120,7 @@ def run_command(argv):
if v.marked_install(xp.name):
cver = v.get_candidate_ver(xp.name)
if xp.installed_version != cver:
- print("%s: %s != %s" % (xp.installed_version, pver, cver))
+ print("%s: %s != %s" % (xp.name, xp.installed_version, cver))
required_updates += 1
if opt.changelogs:
--
2.11.0
More information about the elbe-devel
mailing list