summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-10-06 03:00:25 -0400
committerAllan McRae <allan@archlinux.org>2014-10-13 12:54:29 +1000
commit19c3179b7ebfa4c35dff45792c922602d9322417 (patch)
tree439c1d52c7521375ee9c1e00cfb0d4021aa358a8 /test
parent62c11e450a6f7d753fc997c20027472661de04e0 (diff)
downloadpacman-19c3179b7ebfa4c35dff45792c922602d9322417.tar.xz
pmdb: include directories in package file lists
Needed for checking directories with PKG_FILES. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r--test/pacman/pmdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py
index 60e0e9cc..aa14dfff 100644
--- a/test/pacman/pmdb.py
+++ b/test/pacman/pmdb.py
@@ -172,7 +172,7 @@ class pmdb(object):
if line == "%FILES%":
while line:
line = fd.readline().strip("\n")
- if line and line[-1] != "/":
+ if line:
pkg.files.append(line)
if line == "%BACKUP%":
pkg.backup = _getsection(fd)