| OLD | NEW |
| 1 #!/usr/bin/env python |
| 2 |
| 1 # This file is part of Adblock Plus <https://adblockplus.org/>, | 3 # This file is part of Adblock Plus <https://adblockplus.org/>, |
| 2 # Copyright (C) 2006-2017 eyeo GmbH | 4 # Copyright (C) 2006-2017 eyeo GmbH |
| 3 # | 5 # |
| 4 # Adblock Plus is free software: you can redistribute it and/or modify | 6 # Adblock Plus is free software: you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License version 3 as | 7 # it under the terms of the GNU General Public License version 3 as |
| 6 # published by the Free Software Foundation. | 8 # published by the Free Software Foundation. |
| 7 # | 9 # |
| 8 # Adblock Plus is distributed in the hope that it will be useful, | 10 # Adblock Plus is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 else: | 69 else: |
| 68 # File added or removed or changed. | 70 # File added or removed or changed. |
| 69 yield GIT_PART_HEAD.format(new_name, new_name) | 71 yield GIT_PART_HEAD.format(new_name, new_name) |
| 70 yield line | 72 yield line |
| 71 state = NORMAL | 73 state = NORMAL |
| 72 | 74 |
| 73 | 75 |
| 74 def main(): | 76 def main(): |
| 75 for line in rietveld_to_git(sys.stdin): | 77 for line in rietveld_to_git(sys.stdin): |
| 76 sys.stdout.write(line) | 78 sys.stdout.write(line) |
| 79 |
| 80 |
| 81 if __name__ == '__main__': |
| 82 main() |
| OLD | NEW |