summaryrefslogtreecommitdiffstats
path: root/pactest/pmrule.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-13 02:45:03 +0100
committerDan McGee <dan@archlinux.org>2007-11-15 01:49:50 +0100
commitceb870655ec5c5efdd694328d0c4b8c98be99ebe (patch)
treecc8e836397bf649001be9cb307a23c55325c4996 /pactest/pmrule.py
parent7219326dd4d01d7e49b8a40746f5495c1c329c9c (diff)
downloadpacman-ceb870655ec5c5efdd694328d0c4b8c98be99ebe.tar.gz
pacman-ceb870655ec5c5efdd694328d0c4b8c98be99ebe.tar.xz
Remove REQUIREDBY checks from pactest
Remove any checks dealing with requiredby from pactest (but not actually from the pactests themselves). Of course, we should probably find a new way to check requiredby values of packages since there is no guarantee our code is working perfectly. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/pmrule.py')
-rwxr-xr-xpactest/pmrule.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pactest/pmrule.py b/pactest/pmrule.py
index c5682dc1..8b49f5cd 100755
--- a/pactest/pmrule.py
+++ b/pactest/pmrule.py
@@ -86,9 +86,6 @@ class pmrule:
elif case == "OPTDEPENDS":
if not value in newpkg.optdepends:
success = 0
- elif case == "REQUIREDBY":
- if not value in newpkg.requiredby:
- success = 0
elif case == "REASON":
if newpkg.reason != int(value):
success = 0