From 13e21110459aaf99dd739802c2b07b3d5b9e2a68 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 28 Feb 2007 16:37:24 +0000 Subject: * Unifying placement of REPLACES in desc file, as pacman2 does. We'll worry about bigger DB changes later, but lets not screw anything up for release. * Removed some weird uses of "not ... ==" usage in pactest- correct me if I'm wrong, but isn't "!=" a lot more clean and concise? * Print description of failed tests in the pactest summary. This could get dirty with a lot of failed tests though, so watch out. --- pactest/pmrule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pactest/pmrule.py') diff --git a/pactest/pmrule.py b/pactest/pmrule.py index 33a29f0e..dc04cf1a 100755 --- a/pactest/pmrule.py +++ b/pactest/pmrule.py @@ -86,7 +86,7 @@ class pmrule: if not value in newpkg.requiredby: success = 0 elif case == "REASON": - if not newpkg.reason == int(value): + if newpkg.reason != int(value): success = 0 elif case == "FILES": if not value in newpkg.files: -- cgit v1.2.3