summaryrefslogtreecommitdiffstats
path: root/pactest/pmdb.py
diff options
context:
space:
mode:
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: