diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-19 19:03:29 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-04-19 19:03:29 +0300 |
commit | 30dbccd3468ae17229c92fd1299094a9922ae56b (patch) | |
tree | 3d7cd8f760f6dccc7c93d23b0001efe7b996f857 /run_tests.py | |
parent | a1d367ba8b72cb72c25c199814a27b8a94df9309 (diff) | |
download | meson-30dbccd3468ae17229c92fd1299094a9922ae56b.zip meson-30dbccd3468ae17229c92fd1299094a9922ae56b.tar.gz meson-30dbccd3468ae17229c92fd1299094a9922ae56b.tar.bz2 |
Line numbers start from 1.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-x | run_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py index 003bc55..e89346e 100755 --- a/run_tests.py +++ b/run_tests.py @@ -94,7 +94,7 @@ def run_tests(): def check_file(fname): if fname.endswith('parsetab.py'): # Autogenerated return True - linenum = 0 + linenum = 1 for line in open(fname, 'rb').readlines(): if b'\t' in line: print("File %s contains a literal tab on line %d. Only spaces are permitted." % (fname, linenum)) |