summaryrefslogtreecommitdiff
path: root/test/pacman/pmpkg.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-03 18:30:53 -0600
committerDan McGee <dan@archlinux.org>2011-01-05 20:55:57 -0600
commit46eda12c1bdc13453446c49c021cbd7ee1e869d8 (patch)
tree01dad8d7f201b4ee44e94e470ede7933eaa97857 /test/pacman/pmpkg.py
parente57c3efeaa1713448846604c25d74fe04639cf1a (diff)
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/pmpkg.py')
-rwxr-xr-xtest/pacman/pmpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py
index 9ce09783..e0f3baab 100755
--- a/test/pacman/pmpkg.py
+++ b/test/pacman/pmpkg.py
@@ -49,7 +49,7 @@ class pmpkg:
self.reason = 0
self.md5sum = "" # sync only
self.replaces = []
- self.force = 0
+ self.force = False
self.epoch = 0
self.depends = []
self.optdepends = []