[pacman-dev] [PATCH 1/2] pmpkg.py: remove unused imports
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- test/pacman/pmpkg.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 8ec0800..e7362d3 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -14,11 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. - import os -import tempfile -import stat -import shutil from StringIO import StringIO import tarfile -- 1.9.0
This makes cleaning up /tmp after several --keep-root runs much easier. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- test/pacman/pactest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py index fe14671..d80076e 100755 --- a/test/pacman/pactest.py +++ b/test/pacman/pactest.py @@ -84,7 +84,7 @@ def create_parser(): sys.exit(1) # instantiate env and parser objects - root_path = tempfile.mkdtemp() + root_path = tempfile.mkdtemp(prefix='pactest-') env = pmenv.pmenv(root=root_path) opt_parser = create_parser() (opts, args) = opt_parser.parse_args() -- 1.9.0
participants (1)
-
Andrew Gregory