Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/pmdb.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-12 19:45:03 -0600
committerDan McGee <dan@archlinux.org>2007-11-14 18:49:50 -0600
commitceb870655ec5c5efdd694328d0c4b8c98be99ebe (patch)
treecc8e836397bf649001be9cb307a23c55325c4996 /pactest/pmdb.py
parent7219326dd4d01d7e49b8a40746f5495c1c329c9c (diff)
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/pmdb.py')
-rwxr-xr-xpactest/pmdb.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/pactest/pmdb.py b/pactest/pmdb.py
index ebde324f..f927b4b8 100755
--- a/pactest/pmdb.py
+++ b/pactest/pmdb.py
@@ -189,8 +189,6 @@ class pmdb:
pkg.depends = _getsection(fd)
elif line == "%OPTDEPENDS%":
pkg.optdepends = _getsection(fd)
- elif line == "%REQUIREDBY%":
- pkg.requiredby = _getsection(fd)
elif line == "%CONFLICTS%":
pkg.conflicts = _getsection(fd)
elif line == "%PROVIDES%":
@@ -288,16 +286,13 @@ class pmdb:
pkg.mtime["files"] = getmtime(filename)
# depends
- # for local db entries: depends, requiredby, conflicts, provides
+ # for local db entries: depends, conflicts, provides
# for sync ones: depends, conflicts, provides
data = []
if pkg.depends:
data.append(_mksection("DEPENDS", pkg.depends))
if pkg.optdepends:
data.append(_mksection("OPTDEPENDS", pkg.optdepends))
- if self.treename == "local":
- if pkg.requiredby:
- data.append(_mksection("REQUIREDBY", pkg.requiredby))
if pkg.conflicts:
data.append(_mksection("CONFLICTS", pkg.conflicts))
if pkg.provides: