Improve get_packages_removed_on_{remove,install}
authorVincent Untz <vuntz@opensuse.org>
Mon, 19 Mar 2012 10:36:24 +0000 (11:36 +0100)
committerVincent Untz <vuntz@opensuse.org>
Mon, 19 Mar 2012 10:48:03 +0000 (11:48 +0100)
commit455eee1852718551fadf0a821143920377c62994
treeebe85e45b097cb7ac5191d166bc2d47457a5a0bb
parent2cd7fe60f92cff0512e64a8fbe2f7654b25d6cab
Improve get_packages_removed_on_{remove,install}

Use get_installed/get_candidate instead of _get_one_package to get the
right package to simulate the transaction. Else, we might use a package
that is not installed (useless when simulating a removal), for instance.
softwarecenter/db/pkginfo_impl/packagekit.py