From 35ffe6af2d8d38849a7711a4c6add3d14490816c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 30 Jun 2011 12:02:33 -0500 Subject: pactest: remove no longer necessary newline hacks libalpm can now cope with this as of commit 719e0d3ddb300. Signed-off-by: Dan McGee --- test/pacman/pmdb.py | 6 +++--- test/pacman/pmpkg.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'test/pacman') 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 diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 8e6d7c43..7aa77f6a 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -136,7 +136,6 @@ class pmpkg(object): data.append("provides = %s" % i) for i in self.backup: data.append("backup = %s" % i) - data.append("\n") archive_files.append((".PKGINFO", "\n".join(data))) # .INSTALL -- cgit v1.2.3-70-g09d2