From d44faefd78782178bddbaf494c0aa453114f460a Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Fri, 13 Mar 2009 10:04:28 -0400 Subject: [PATCH] make p-u use the new utils.temp_dirname() method Signed-off-by: Mike O'Connor --- dak/process_unchecked.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index dd97b6c7..07e3c22a 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -37,7 +37,6 @@ import shutil import stat import sys import time -import tempfile import traceback import tarfile import apt_inst @@ -145,16 +144,6 @@ def reject (str, prefix="Rejected: "): ################################################################################ -def create_tmpdir(): - """ - Create a temporary directory that can be used for unpacking files into for - checking - """ - tmpdir = tempfile.mkdtemp() - return tmpdir - -################################################################################ - def copy_to_holding(filename): global in_holding @@ -889,7 +878,7 @@ def check_source(): or pkg.orig_tar_gz == -1: return - tmpdir = create_tmpdir() + tmpdir = utils.temp_dirname() # Move into the temporary directory cwd = os.getcwd() -- 2.39.5