summaryrefslogtreecommitdiffstats
path: root/pactest/pmrule.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/pmrule.py')
-rwxr-xr-xpactest/pmrule.py2
1 files changed, 1 insertions, 1 deletions
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: