X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fimport_archive.py;h=53635e2acac63b7f086cb4b5b208f138ef0acd56;hb=bd78bbf9170cc8ee2dda06a7f060fd3370fea2bd;hp=4432ff1ac602c6b8008a2efcff154cbd9e9a3d23;hpb=16f731a893f0ba036a995c25b8b5f3490394070e;p=dak.git diff --git a/dak/import_archive.py b/dak/import_archive.py index 4432ff1a..53635e2a 100755 --- a/dak/import_archive.py +++ b/dak/import_archive.py @@ -477,7 +477,7 @@ def process_packages (filename, suite, component, archive): ############################################################################### def do_sources(sources, suite, component, server): - temp_filename = utils.temp_filename() + (fd, temp_filename) = utils.temp_filename() (result, output) = commands.getstatusoutput("gunzip -c %s > %s" % (sources, temp_filename)) if (result != 0): utils.fubar("Gunzip invocation failed!\n%s" % (output), result)