From: Joerg Jaspert Date: Mon, 12 Jul 2010 19:29:56 +0000 (+0200) Subject: Slightly more useful tempfile names X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=49658fd9c09516ce4c933e1e128a9c59b72f69d5;p=dak.git Slightly more useful tempfile names Signed-off-by: Joerg Jaspert --- diff --git a/dak/generate_packages_sources.py b/dak/generate_packages_sources.py index 6e91aeda..7820974a 100755 --- a/dak/generate_packages_sources.py +++ b/dak/generate_packages_sources.py @@ -274,7 +274,7 @@ tree "dists/proposed-updates/main" cnf = Config() try: # Write apt.conf - (ac_fd, ac_name) = mkstemp(dir=tmppath) + (ac_fd, ac_name) = mkstemp(dir=tmppath, suffix=suite, prefix=arch) os.write(ac_fd, DAILY_APT_CONF) # here we want to generate the tree entries os.write(ac_fd, apt_trees[suite] % {'arch': arch})