summaryrefslogtreecommitdiff
path: root/test/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman')
-rw-r--r--test/pacman/pmdb.py6
-rw-r--r--test/pacman/pmpkg.py1
2 files changed, 3 insertions, 4 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
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