diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-05-31 12:53:22 -0700 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-14 20:05:51 +0100 |
commit | cdf56eb68d2718b5702f3d09928da404d745b8e1 (patch) | |
tree | b528802a1b9b64df8f882e6ccec42dc6fcfaaab5 /src/gallium/state_trackers/python | |
parent | 1574b05189fee1b5802024b505ba93fff345e95c (diff) | |
download | external_mesa3d-cdf56eb68d2718b5702f3d09928da404d745b8e1.zip external_mesa3d-cdf56eb68d2718b5702f3d09928da404d745b8e1.tar.gz external_mesa3d-cdf56eb68d2718b5702f3d09928da404d745b8e1.tar.bz2 |
python/retrace: Open bz2 files correctly.
Diffstat (limited to 'src/gallium/state_trackers/python')
-rwxr-xr-x | src/gallium/state_trackers/python/retrace/parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/retrace/parse.py b/src/gallium/state_trackers/python/retrace/parse.py index b0f3e8a..b08d368 100755 --- a/src/gallium/state_trackers/python/retrace/parse.py +++ b/src/gallium/state_trackers/python/retrace/parse.py @@ -371,7 +371,7 @@ class Main: stream = GzipFile(arg, 'rt') elif arg.endswith('.bz2'): from bz2 import BZ2File - stream = BZ2File(arg, 'rt') + stream = BZ2File(arg, 'rU') else: stream = open(arg, 'rt') self.process_arg(stream, options) |