diff options
author | Allan McRae <allan@archlinux.org> | 2009-01-02 05:34:52 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-01-03 05:46:47 +0100 |
commit | f4651c49af94164f2c129ea6eb3d78b86be4d5bc (patch) | |
tree | 17c344700d7dd1c0cad3444ef2129f5989fc678a /pactest/pmdb.py | |
parent | 751d37e749fcb0a06bb21dee4b5b6d0b062ed284 (diff) | |
download | pacman-f4651c49af94164f2c129ea6eb3d78b86be4d5bc.tar.gz pacman-f4651c49af94164f2c129ea6eb3d78b86be4d5bc.tar.xz |
makepkg: tidy version package tests
The use if "! -z" to check if a string is not null is not good practice
so replace with the "-n" option. Also use the AND comparison within one
test rather than on two separate tests.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/pmdb.py')
0 files changed, 0 insertions, 0 deletions