Mercurial > kallithea
changeset 1151:0c5629ce52e4 beta
fixed problems with archives
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 18 Mar 2011 16:43:36 +0100 |
parents | f3d8ff6f96cc |
children | 36fe593dfe4b |
files | rhodecode/controllers/files.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/files.py Fri Mar 18 15:41:48 2011 +0100 +++ b/rhodecode/controllers/files.py Fri Mar 18 16:43:36 2011 +0100 @@ -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 @@ 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):