index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-12-02 18:11:23 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-02 18:11:23 -0600 |
commit | 94aa8b1f163c88cb47c049da4f3c9935dc6da1e8 (patch) | |
tree | 631eb9ce9aa380b6666f1a68bb5f30c50830f07b /pactest/pmdb.py | |
parent | e8eff3ef97e30ec64fbb62e502ed24fe5baceca0 (diff) |
-rwxr-xr-x | pactest/pmdb.py | 16 |
diff --git a/pactest/pmdb.py b/pactest/pmdb.py index f927b4b8..ed552dbf 100755 --- a/pactest/pmdb.py +++ b/pactest/pmdb.py @@ -236,19 +236,19 @@ class pmdb: data.append(_mksection("DESC", pkg.desc)) if pkg.groups: data.append(_mksection("GROUPS", pkg.groups)) + if pkg.license: + data.append(_mksection("LICENSE", pkg.license)) + if pkg.arch: + data.append(_mksection("ARCH", pkg.arch)) + if pkg.builddate: + data.append(_mksection("BUILDDATE", pkg.builddate)) + if pkg.packager: + data.append(_mksection("PACKAGER", pkg.packager)) if self.treename == "local": if pkg.url: data.append(_mksection("URL", pkg.url)) - if pkg.license: - data.append(_mksection("LICENSE", pkg.license)) - if pkg.arch: - data.append(_mksection("ARCH", pkg.arch)) - if pkg.builddate: - data.append(_mksection("BUILDDATE", pkg.builddate)) if pkg.installdate: data.append(_mksection("INSTALLDATE", pkg.installdate)) - if pkg.packager: - data.append(_mksection("PACKAGER", pkg.packager)) if pkg.size: data.append(_mksection("SIZE", pkg.size)) if pkg.reason: |