summaryrefslogtreecommitdiffstats
path: root/pactest/pmdb.py
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-26 09:33:48 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-26 09:33:48 +0100
commit52376150fa267f4f69af75cb9ff4a720430a5083 (patch)
tree523f277e1b57d4f403e0a187ed995d2c06a3cf48 /pactest/pmdb.py
parent25223d679078dc756bbd8aea46f713259a4365ee (diff)
downloadpacman-52376150fa267f4f69af75cb9ff4a720430a5083.tar.gz
pacman-52376150fa267f4f69af75cb9ff4a720430a5083.tar.xz
* Writing 'replaces' info to both /desc and /depends files for testing - see the
"replaces confusion" thread on pacman-dev for more information * Cleaned up some 2 item loops in the sync131 test
Diffstat (limited to 'pactest/pmdb.py')
-rwxr-xr-xpactest/pmdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pactest/pmdb.py b/pactest/pmdb.py
index 29d35ba1..ba707bd8 100755
--- a/pactest/pmdb.py
+++ b/pactest/pmdb.py
@@ -251,6 +251,8 @@ class pmdb:
if pkg.reason:
data.append(_mksection("REASON", pkg.reason))
else:
+ if pkg.replaces:
+ data.append(_mksection("REPLACES", pkg.replaces))
if pkg.csize:
data.append(_mksection("CSIZE", pkg.csize))
if pkg.md5sum: