summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmdb.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-30 19:02:33 +0200
committerDan McGee <dan@archlinux.org>2011-06-30 19:02:33 +0200
commit35ffe6af2d8d38849a7711a4c6add3d14490816c (patch)
treef7c89136edb0ad4d15ca708b0bfea6654e697ba3 /test/pacman/pmdb.py
parent0ed848a9ea7a543192cef1ca78695a9046ee4e98 (diff)
downloadpacman-35ffe6af2d8d38849a7711a4c6add3d14490816c.tar.gz
pacman-35ffe6af2d8d38849a7711a4c6add3d14490816c.tar.xz
pactest: remove no longer necessary newline hacks
libalpm can now cope with this as of commit 719e0d3ddb300. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmdb.py')
-rw-r--r--test/pacman/pmdb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py
index 90b817ac..63a156ec 100644
--- a/test/pacman/pmdb.py
+++ b/test/pacman/pmdb.py
@@ -207,17 +207,17 @@ class pmdb(object):
make_section(data, "MD5SUM", pkg.md5sum)
make_section(data, "PGPSIG", pkg.pgpsig)
- entry["desc"] = "\n".join(data) + "\n"
+ entry["desc"] = "\n".join(data)
# files and install
if self.is_local:
data = []
make_section(data, "FILES", pkg.full_filelist())
make_section(data, "BACKUP", pkg.local_backup_entries())
- entry["files"] = "\n".join(data) + "\n"
+ entry["files"] = "\n".join(data)
if any(pkg.install.values()):
- entry["install"] = pkg.installfile() + "\n"
+ entry["install"] = pkg.installfile()
return entry