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 f300d08..98dfec1 100755
--- a/examples/pysolv
+++ b/examples/pysolv
@@ -814,9 +814,9 @@ for cl in trans.classify(solv.Transaction.SOLVER_TRANSACTION_SHOW_OBSOLETES | so
elif cl.type == solv.Transaction.SOLVER_TRANSACTION_UPGRADED:
print "%d upgraded packages:" % cl.count
elif cl.type == solv.Transaction.SOLVER_TRANSACTION_VENDORCHANGE:
- print "%d vendor changes from '%s' to '%s':" % (cl.count, cl.fromdep(), cl.todep())
+ print "%d vendor changes from '%s' to '%s':" % (cl.count, cl.fromstr, cl.tostr)
elif cl.type == solv.Transaction.SOLVER_TRANSACTION_ARCHCHANGE:
- print "%d arch changes from '%s' to '%s':" % (cl.count, cl.fromdep(), cl.todep())
+ print "%d arch changes from '%s' to '%s':" % (cl.count, cl.fromstr, cl.tostr)
else:
continue
for p in cl.solvables():