Show More
@@ -7,7 +7,7 b'' | |||||
7 | # This software may be used and distributed according to the terms of the |
|
7 | # This software may be used and distributed according to the terms of the | |
8 | # GNU General Public License version 2 or any later version. |
|
8 | # GNU General Public License version 2 or any later version. | |
9 |
|
9 | |||
10 | from __future__ import absolute_import |
|
10 | from __future__ import absolute_import, print_function | |
11 |
|
11 | |||
12 | import argparse |
|
12 | import argparse | |
13 | import contextlib |
|
13 | import contextlib | |
@@ -227,4 +227,7 b' def main():' | |||||
227 | process(fin, fout, opts) |
|
227 | process(fin, fout, opts) | |
228 |
|
228 | |||
229 | if __name__ == '__main__': |
|
229 | if __name__ == '__main__': | |
|
230 | if sys.version_info.major < 3: | |||
|
231 | print('This script must be run under Python 3.') | |||
|
232 | sys.exit(3) | |||
230 | main() |
|
233 | main() |
General Comments 0
You need to be logged in to leave comments.
Login now