summaryrefslogtreecommitdiff
path: root/examples/pysolv
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pysolv')
-rwxr-xr-xexamples/pysolv4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pysolv b/examples/pysolv
index 23e14c4..1400be8 100755
--- a/examples/pysolv
+++ b/examples/pysolv
@@ -807,9 +807,9 @@ if cmd == 'install' or cmd == 'erase' or cmd == 'up' or cmd == 'dup' or cmd == '
elif cl.type == Transaction.SOLVER_TRANSACTION_UPGRADED:
print "%d upgraded packages:" % cl.count
elif cl.type == Transaction.SOLVER_TRANSACTION_VENDORCHANGE:
- print "%d vendor changes from '%s' to '%s':" % (cl.count, pool.id2str(cl.fromid), pool.id2str(cl.toid))
+ print "%d vendor changes from '%s' to '%s':" % (cl.count, cl.fromdep(), cl.todep())
elif cl.type == Transaction.SOLVER_TRANSACTION_ARCHCHANGE:
- print "%d arch changes from '%s' to '%s':" % (cl.count, pool.id2str(cl.fromid), pool.id2str(cl.toid))
+ print "%d arch changes from '%s' to '%s':" % (cl.count, cl.fromdep(), cl.todep())
else:
continue
for p in cl.solvables():