summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/sync136.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/sync136.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/sync136.py')
-rw-r--r--test/pacman/tests/sync136.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/tests/sync136.py b/test/pacman/tests/sync136.py
index 58d08eb0..b3a6baf4 100644
--- a/test/pacman/tests/sync136.py
+++ b/test/pacman/tests/sync136.py
@@ -1,7 +1,7 @@
self.description = "Sysupgrade with a sync package forcing a downgrade"
sp = pmpkg("dummy", "1.0-1")
-sp.force = 1
+sp.force = True
self.addpkg2db("sync", sp)