mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix for the broken test I just committed
This commit is contained in:
@@ -1651,7 +1651,7 @@ class TwillTestCase( unittest.TestCase ):
|
||||
t.extract( n, tmpd )
|
||||
t.close()
|
||||
elif zipfile.is_zipfile( archive ):
|
||||
z = zipfile.open( archive )
|
||||
z = zipfile.ZipFile( archive, 'r' )
|
||||
for n in z.namelist():
|
||||
mkdir( n )
|
||||
open( os.path.join( tmpd, n ), 'wb' ).write( z.read( n ) )
|
||||
|
||||
Reference in New Issue
Block a user