Changeset - 0e82346ae7ae
[Not reviewed]
default
0 1 0
Matt Fellows - 11 years ago 2014-11-27 15:28:59
kallithea@matt-fellows.me.uk
Fix for zip file downloads, not being valid zips (Issue #35)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/controllers/files.py
Show inline comments
 
@@ -569,6 +569,7 @@ class FilesController(BaseRepoController
 
                temp_stream = open(archive, 'wb')
 
                log.debug('Creating new temp archive in %s' % archive)
 
                cs.fill_archive(stream=temp_stream, kind=fileformat, subrepos=subrepos)
 
                temp_stream.close()
 
                if not subrepos and archive_cache_enabled:
 
                    #if we generated the archive and use cache rename that
 
                    log.debug('Storing new archive in %s' % cached_archive_path)
0 comments (0 inline, 0 general)