From: Michael Schroeder Date: Thu, 17 Mar 2011 12:18:44 +0000 (+0100) Subject: - fix pysolv typo X-Git-Tag: BASE-SuSE-Code-12_1-Branch~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55c534f50ae9abf21c235089337fcfb73ad303ff;p=thirdparty%2Flibsolv.git - fix pysolv typo --- diff --git a/examples/pysolv b/examples/pysolv index e03b0580..84fb9f7d 100755 --- a/examples/pysolv +++ b/examples/pysolv @@ -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: