Changeset 289

Show
Ignore:
Timestamp:
Tue Sep 5 07:49:40 2006
Author:
giovannibajo
Message:

The extract() functions of the archives already decompress the files if
necessary, so calling zlib.decompress in ArchiveViewer? is not required anymore.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/ArchiveViewer.py

    r246 r289  
    126 126     dpos, dlen, ulen, flag, typcd, nm = arch.toc[ndx]  
    127 127     x, data = arch.extract(ndx)  
    128       if flag == 1:  
    129           return zlib.decompress(data)  
    130 128     return data  
    131 129