[hg] galaxy 3005: Fix for the broken test I just committed
details: http://www.bx.psu.edu/hg/galaxy/rev/6eddc13b1d3b changeset: 3005:6eddc13b1d3b user: Nate Coraor <nate@bx.psu.edu> date: Tue Nov 10 16:02:49 2009 -0500 description: Fix for the broken test I just committed diffstat: test/base/twilltestcase.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 4f923033e9d0 -r 6eddc13b1d3b test/base/twilltestcase.py --- a/test/base/twilltestcase.py Tue Nov 10 15:10:43 2009 -0500 +++ b/test/base/twilltestcase.py Tue Nov 10 16:02:49 2009 -0500 @@ -1651,7 +1651,7 @@ 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 ) )
participants (1)
-
Greg Von Kuster