| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 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 collections | 6 import collections |
| 7 import os | 7 import os |
| 8 import re | 8 import re |
| 9 import sys | 9 import sys |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 for _ in xrange(callouts[i]): | 130 for _ in xrange(callouts[i]): |
| 131 ext += ' <emphasis role="strong">(%d)</emphasis>' % callout_counter | 131 ext += ' <emphasis role="strong">(%d)</emphasis>' % callout_counter |
| 132 callout_counter += 1 | 132 callout_counter += 1 |
| 133 w(line + ext + '\n') | 133 w(line + ext + '\n') |
| 134 if in_code: | 134 if in_code: |
| 135 w(postamble) | 135 w(postamble) |
| 136 | 136 |
| 137 | 137 |
| 138 if __name__ == '__main__': | 138 if __name__ == '__main__': |
| 139 main() | 139 main() |
| OLD | NEW |