##// END OF EJS Templates
fixed problems with archives
marcink -
r1151:0c5629ce beta
parent child Browse files
Show More
@@ -26,7 +26,6 b''
26 # MA 02110-1301, USA.
26 # MA 02110-1301, USA.
27
27
28 import logging
28 import logging
29 import tempfile
30 import rhodecode.lib.helpers as h
29 import rhodecode.lib.helpers as h
31
30
32 from pylons import request, response, session, tmpl_context as c, url
31 from pylons import request, response, session, tmpl_context as c, url
@@ -197,8 +196,7 b' class FilesController(BaseRepoController'
197 response.content_disposition = 'attachment; filename=%s-%s%s' \
196 response.content_disposition = 'attachment; filename=%s-%s%s' \
198 % (repo_name, revision, ext)
197 % (repo_name, revision, ext)
199
198
200 return cs.get_chunked_archive(stream=tempfile.TemporaryFile(),
199 return cs.get_chunked_archive(stream=None, kind=fileformat)
201 kind=fileformat)
202
200
203
201
204 def diff(self, repo_name, f_path):
202 def diff(self, repo_name, f_path):
General Comments 0
You need to be logged in to leave comments. Login now