Changeset - 0c5629ce52e4
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2011-03-18 16:43:36
marcin@python-works.com
fixed problems with archives
1 file changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/files.py
Show inline comments
 
@@ -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):
0 comments (0 inline, 0 general)