From 63335859d1b1c77222c31229fe499c031a76361d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 22 Jun 2011 15:11:56 -0500 Subject: pactest: refactor install file creation Signed-off-by: Dan McGee --- test/pacman/util.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/pacman/util.py') diff --git a/test/pacman/util.py b/test/pacman/util.py index 5e8d3dbc..0cf0eabe 100644 --- a/test/pacman/util.py +++ b/test/pacman/util.py @@ -91,14 +91,6 @@ def mkfile(name, data = ""): if setperms: os.chmod(filename, int(perms, 8)) -def mkinstallfile(filename, install): - data = [] - for key, value in install.iteritems(): - if value: - data.append("%s() {\n%s\n}" % (key, value)) - - mkfile(filename, "\n".join(data)) - def mkcfgfile(filename, root, option, db): # Options data = ["[options]"] -- cgit v1.2.3-24-g4f1b