# HG changeset patch # User Marcin Kuzminski # Date 2011-03-18 15:43:36 # Node ID 0c5629ce52e4cd94f7106551cc176e4ad424ea0d # Parent f3d8ff6f96cc1d3323d6671147dcf125461f331a fixed problems with archives diff --git a/rhodecode/controllers/files.py b/rhodecode/controllers/files.py --- a/rhodecode/controllers/files.py +++ b/rhodecode/controllers/files.py @@ -26,7 +26,6 @@ # MA 02110-1301, USA. import logging -import tempfile import rhodecode.lib.helpers as h from pylons import request, response, session, tmpl_context as c, url @@ -197,8 +196,7 @@ class FilesController(BaseRepoController response.content_disposition = 'attachment; filename=%s-%s%s' \ % (repo_name, revision, ext) - return cs.get_chunked_archive(stream=tempfile.TemporaryFile(), - kind=fileformat) + return cs.get_chunked_archive(stream=None, kind=fileformat) def diff(self, repo_name, f_path):