OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import argparse | 6 import argparse |
7 import csv | 7 import csv |
8 import json | 8 import json |
9 import os | 9 import os |
10 import shutil | 10 import shutil |
11 import sys | 11 import sys |
12 | 12 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 writer = csv.writer(csvfile) | 51 writer = csv.writer(csvfile) |
52 writer.writerow(header) | 52 writer.writerow(header) |
53 for e in merged: | 53 for e in merged: |
54 writer.writerow(e) | 54 writer.writerow(e) |
55 | 55 |
56 return 0 | 56 return 0 |
57 | 57 |
58 if __name__ == '__main__': | 58 if __name__ == '__main__': |
59 sys.exit(main(sys.argv[1:])) | 59 sys.exit(main(sys.argv[1:])) |
60 | 60 |
OLD | NEW |