# HG changeset patch --
Bitbucket.org
# Project galaxy-dist
# URL
http://bitbucket.org/galaxy/galaxy-dist/overview
# User Nate Coraor <nate(a)bx.psu.edu>
# Date 1275926267 14400
# Node ID ada54c10540ae10f308a1f2e8683bcbe779057f1
# Parent 1f70816084ae18122f3af9a5efb588f9ace6cd11
Bugfix for 4fb747f317d0, open tar file as stream
--- a/lib/galaxy/web/controllers/library_common.py
+++ b/lib/galaxy/web/controllers/library_common.py
@@ -1382,7 +1382,7 @@ class LibraryCommon( BaseController ):
archive.add = lambda x, y: archive.write( x,
y.encode('CP437') )
elif action == 'tgz':
if trans.app.config.upstream_gzip:
- archive = util.streamball.StreamBall( 'w' )
+ archive = util.streamball.StreamBall( 'w|' )
outext = 'tar'
else:
archive = util.streamball.StreamBall( 'w|gz' )