From 52376150fa267f4f69af75cb9ff4a720430a5083 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 26 Feb 2007 08:33:48 +0000 Subject: * 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 --- pactest/pmdb.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pactest/pmdb.py') 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: -- cgit v1.2.3