diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-08-20 22:08:11 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-23 09:22:34 -0500 |
commit | adc4078b8743a1437d44557dafea8619b1ce0fb1 (patch) | |
tree | 6b6d03e5e9231fed33629ca3cf63a15e12593592 /pactest/tests/upgrade059.py | |
parent | 7865fb9af487f7ca043cab6e90c3aee0863e285b (diff) | |
download | pacman-adc4078b8743a1437d44557dafea8619b1ce0fb1.tar.xz |
split yesno() into yesno() and noyes() functions.
The yesno function had a preset argument for specifying the default answer :
yes or no.
However, in all our calls to yesno, only one used the default "no" answer.
Having to specify preset==1 for all the other cases was rather cumbersome.
To make this easier, this commit adds a noyes function, with the following
behavior :
yesno() : default answer is yes
noyes() : default answer is no
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/upgrade059.py')
0 files changed, 0 insertions, 0 deletions