- 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 e03b058..84fb9f7 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: