| Index: patchconv/patchconv.py |
| =================================================================== |
| old mode 100644 |
| new mode 100755 |
| --- a/patchconv/patchconv.py |
| +++ b/patchconv/patchconv.py |
| @@ -1,8 +1,10 @@ |
| +#!/usr/bin/env python |
| + |
| # This file is part of Adblock Plus <https://adblockplus.org/>, |
| # Copyright (C) 2006-2017 eyeo GmbH |
| # |
| # Adblock Plus is free software: you can redistribute it and/or modify |
| # it under the terms of the GNU General Public License version 3 as |
| # published by the Free Software Foundation. |
| # |
| # Adblock Plus is distributed in the hope that it will be useful, |
| @@ -69,8 +71,12 @@ |
| yield GIT_PART_HEAD.format(new_name, new_name) |
| yield line |
| state = NORMAL |
| def main(): |
| for line in rietveld_to_git(sys.stdin): |
| sys.stdout.write(line) |
| + |
| + |
| +if __name__ == '__main__': |
| + main() |