From 4ceb1c5bf91dea2453d9b888138c40e4f97d408d Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 16 Oct 2015 20:28:29 -0400 Subject: util.py: return the created path Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/pmpkg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/pacman/pmpkg.py') diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 31336610..9033dc61 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -174,8 +174,7 @@ class pmpkg(object): def install_package(self, root): """Install the package in the given root.""" for f in self.files: - util.mkfile(root, f, f) - path = os.path.join(root, f) + path = util.mkfile(root, f, f) if os.path.isfile(path): os.utime(path, (355, 355)) -- cgit v1.2.3