diff options
author | Michael Schroeder <mls@suse.de> | 2013-06-04 17:55:34 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-06-04 17:55:34 +0200 |
commit | 35fe9fc7beea9290200e2c3301bb5e89f359189d (patch) | |
tree | a5774b19c8fc28d38d46a688dcc0536e4e4da637 /examples/pysolv | |
parent | 9f6921196d3f4c38d636505326370b8950b6ca2a (diff) | |
download | libsolv-35fe9fc7beea9290200e2c3301bb5e89f359189d.tar.gz libsolv-35fe9fc7beea9290200e2c3301bb5e89f359189d.tar.bz2 libsolv-35fe9fc7beea9290200e2c3301bb5e89f359189d.zip |
Make 'dep' attribute in Ruleinfo return an object, add fromstr/tostr attributes to TransactionClass and remove old fromdep()/todep() methods
Diffstat (limited to 'examples/pysolv')
-rwxr-xr-x | examples/pysolv | 4 |
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(): |