summaryrefslogtreecommitdiffstats
path: root/pactest/tests/remove041.py
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-08-25 00:10:40 +0200
committerDan McGee <dan@archlinux.org>2007-11-21 07:05:05 +0100
commit83fa6aa2896c0c940e8bf5b7499abc7ef955e658 (patch)
tree40e275009f7716bbccce692c034ef396ff2a891c /pactest/tests/remove041.py
parent3e9c590480d7ec8fe576cf0a2216e1d3cb61db77 (diff)
downloadpacman-83fa6aa2896c0c940e8bf5b7499abc7ef955e658.tar.gz
pacman-83fa6aa2896c0c940e8bf5b7499abc7ef955e658.tar.xz
Remove duplicated get_upgrades function, use sysupgrade instead.
The alpm_get_upgrades was exactly the same as find_replacements + _alpm_sync_sysupgrade, except that it automatically made the eventual replacements, without asking the user : Replace %s with %s/%s? [Y/n] The replace question, asked in find_replacements. can now be skipped by using a NULL trans argument, so that we get the same behavior as with alpm_get_upgrades. So alpm_db_get_upgrades() can now be replaced by alpm_sync_sysupgrade(db_local, syncdbs). Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/remove041.py')
0 files changed, 0 insertions, 0 deletions