diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-26 08:33:48 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-26 08:33:48 +0000 |
commit | 52376150fa267f4f69af75cb9ff4a720430a5083 (patch) | |
tree | 523f277e1b57d4f403e0a187ed995d2c06a3cf48 /pactest/pmdb.py | |
parent | 25223d679078dc756bbd8aea46f713259a4365ee (diff) | |
download | 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-x | pactest/pmdb.py | 2 |
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: |