mirror of
https://github.com/openSUSE/libsolv.git
synced 2026-02-05 12:45:46 +01:00
puts $op instead of $p in Transaction summary.
Print $op in the second part of puts when the package is to be upgraded or downgraded. Previously same package info was been printed.
This commit is contained in:
@@ -738,7 +738,7 @@ foreach cl [$trans classify [expr $solv::Transaction_SOLVER_TRANSACTION_SHOW_OBS
|
||||
set cltype [$cl cget -type]
|
||||
if {$cltype == $solv::Transaction_SOLVER_TRANSACTION_UPGRADED || $cltype ==$solv::Transaction_SOLVER_TRANSACTION_DOWNGRADED} {
|
||||
set op [$trans othersolvable $p]
|
||||
puts [format { - %s -> %s} [$p str] [$p str]]
|
||||
puts [format { - %s -> %s} [$p str] [$op str]]
|
||||
} else {
|
||||
puts [format { - %s} [$p str]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user