summaryrefslogtreecommitdiffstats
path: root/test/pacman/pmtest.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-22 21:39:50 +0200
committerDan McGee <dan@archlinux.org>2011-06-24 08:36:48 +0200
commit3ace8ceb2343621ada4a72fc60e8e03a570fd389 (patch)
treea57b73f64624d9ec21ae4de89ac30170b0c7d7ef /test/pacman/pmtest.py
parent11d8418737d9d9c12584c6eed83bc6cea46ef3e9 (diff)
downloadpacman-3ace8ceb2343621ada4a72fc60e8e03a570fd389.tar.gz
pacman-3ace8ceb2343621ada4a72fc60e8e03a570fd389.tar.xz
pactest: make pmfile a bit more pythonic
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmtest.py')
-rw-r--r--test/pacman/pmtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 64e56da7..105a841c 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -188,7 +188,7 @@ class pmtest(object):
for roots, dirs, files in os.walk(self.root):
for i in files:
filename = os.path.join(roots, i)
- f = pmfile.pmfile(self.root, filename.replace(self.root + "/", ""))
+ f = pmfile.PacmanFile(self.root, filename.replace(self.root + "/", ""))
self.files.append(f)
vprint("\t%s" % f.name)