OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 import argparse | 6 import argparse |
7 import logging | 7 import logging |
8 import os | 8 import os |
9 import re | 9 import re |
10 import subprocess | 10 import subprocess |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 elif not ibtool_re.match(line): | 48 elif not ibtool_re.match(line): |
49 if current_section_header: | 49 if current_section_header: |
50 sys.stdout.write(current_section_header) | 50 sys.stdout.write(current_section_header) |
51 current_section_header = None | 51 current_section_header = None |
52 sys.stdout.write(line) | 52 sys.stdout.write(line) |
53 return ibtoolout.returncode | 53 return ibtoolout.returncode |
54 | 54 |
55 | 55 |
56 if __name__ == '__main__': | 56 if __name__ == '__main__': |
57 sys.exit(main()) | 57 sys.exit(main()) |
OLD | NEW |