summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/sync142.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-04 01:30:53 +0100
committerDan McGee <dan@archlinux.org>2011-01-06 03:55:57 +0100
commit46eda12c1bdc13453446c49c021cbd7ee1e869d8 (patch)
tree01dad8d7f201b4ee44e94e470ede7933eaa97857 /test/pacman/tests/sync142.py
parente57c3efeaa1713448846604c25d74fe04639cf1a (diff)
downloadpacman-46eda12c1bdc13453446c49c021cbd7ee1e869d8.tar.gz
pacman-46eda12c1bdc13453446c49c021cbd7ee1e869d8.tar.xz
pactest: Use booleans where it makes sense
No need to use 0/1 when we can use False/True for the force option. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/sync142.py')
-rw-r--r--test/pacman/tests/sync142.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/tests/sync142.py b/test/pacman/tests/sync142.py
index 83766bb8..726ef304 100644
--- a/test/pacman/tests/sync142.py
+++ b/test/pacman/tests/sync142.py
@@ -5,7 +5,7 @@ sp.epoch = 2
self.addpkg2db("sync", sp)
lp = pmpkg("dummy", "2.0-1")
-lp.force = 1
+lp.force = True
self.addpkg2db("local", lp)
self.args = "-Su"