]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- fix pysolv typo
authorMichael Schroeder <mls@suse.de>
Thu, 17 Mar 2011 12:18:44 +0000 (13:18 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 17 Mar 2011 12:18:44 +0000 (13:18 +0100)
examples/pysolv

index e03b0580bf895b29d8af5bdf46b5b38c46b812f3..84fb9f7d5f667dcadcbdd7b2ce0280fc39041645 100755 (executable)
@@ -955,7 +955,7 @@ if cmd == 'install' or cmd == 'erase' or cmd == 'up' or cmd == 'dup' or cmd == '
        else:
            continue
        for p in cl.solvables():
-           if ctype == Transaction.SOLVER_TRANSACTION_UPGRADED or ctype == Transaction.SOLVER_TRANSACTION_DOWNGRADED:
+           if cl.type == Transaction.SOLVER_TRANSACTION_UPGRADED or cl.type == Transaction.SOLVER_TRANSACTION_DOWNGRADED:
                op = trans.othersolvable(p)
                print "  - %s -> %s" % (p.str(), op.str())
            else: