From 49658fd9c09516ce4c933e1e128a9c59b72f69d5 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 12 Jul 2010 21:29:56 +0200 Subject: [PATCH] Slightly more useful tempfile names Signed-off-by: Joerg Jaspert --- dak/generate_packages_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- 2.39.5