commit | 9430c17a6c86b228e2e6d3f2a19171eb3cec745d | [log] [tgz] |
---|---|---|
author | Artur Satayev <satayev@google.com> | Mon Jan 20 17:35:58 2020 +0000 |
committer | Artur Satayev <satayev@google.com> | Wed Jan 29 19:54:58 2020 +0000 |
tree | aab27b2b365ac91b03f408e6cf448626759bc49d | |
parent | cd70c935b3df02709e1fdae7b4716057ba65131d [diff] |
Use py3 features in merge_csv.py. - Use csv.QUOTE_MINIMAL strategy to only quote fields with special characters. - Open file as 'r', not 'rb'. - Use 'unix' dialect for '\n' as line terminator, instead of \r\n. Bug: 145132366 Test: diff -w out/soong/hiddenapi/hiddenapi-greylist.csv Change-Id: I888f3219beee5b83e53f05589a90a05f93399fe3