diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-01-25 02:43:59 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-01-25 02:43:59 +0200 |
| commit | 4293a2ac65e2900333dca7cf4296d05adb631560 (patch) | |
| tree | 18b8ce7e469ea823797e4333494f92ffea64bbbd | |
| parent | ed160fbbe4def47d47f99285e8fd8c412470dae9 (diff) | |
| download | meson-4293a2ac65e2900333dca7cf4296d05adb631560.tar.gz | |
Removed shebang lines from files that are not executable.
| -rw-r--r-- | dependencies.py | 2 | ||||
| -rw-r--r-- | mparser.py | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/dependencies.py b/dependencies.py index 3e3f877af..4720a73e4 100644 --- a/dependencies.py +++ b/dependencies.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - # Copyright 2013-2014 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/mparser.py b/mparser.py index f17d9e879..33924668b 100644 --- a/mparser.py +++ b/mparser.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - # Copyright 2014 The Meson development team # Licensed under the Apache License, Version 2.0 (the "License"); @@ -516,13 +514,3 @@ class Parser: block.lines.append(curline) cond = self.accept('eol') return block - -if __name__ == '__main__': - for code in sys.argv[1:]: - parser = Parser(open(code).read()) - try: - print(code) - parser.parse() - except ParseException as e: - print('Error', e.text, 'line', e.lineno, 'column', e.colno) - |
