commit | e4ef3d621d5c88dae82cdd5b03fff275e3eed6a2 | [log] [tgz] |
---|---|---|
author | Krzysztof Kosiński <krzysio@google.com> | Tue Oct 04 05:06:32 2022 +0000 |
committer | Krzysztof Kosiński <krzysio@google.com> | Thu Oct 27 06:21:00 2022 +0000 |
tree | df26f3464d69cea30a59f2423cf32c435dd2cd79 | |
parent | ad6c3e35683963e150dcc7e1a5635a96322edfbe [diff] |
Make open() calls compatible with Python 3. Python 3 does not support buffering for mode "r+b". config.gz is opened as a text file, but the default mode for the gzip module is binary. Bug: 203436762 Test: atest vts_kernel_net_tests Change-Id: I2e01efe6a3313947e77786aecbe9dba4b08cc69d