diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-03-06 15:08:45 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-03-09 09:00:40 -0400 |
commit | 034f51dd0223b4d2969a3ecc2f0dc661b07bc6f1 (patch) | |
tree | f6640eb00f76689cbb69f1ddde09d89f874e40b1 /scripts | |
parent | 9dc90a5b7bf02bc9a034b57bdbc1588745d00447 (diff) | |
download | tor-034f51dd0223b4d2969a3ecc2f0dc661b07bc6f1.tar.gz tor-034f51dd0223b4d2969a3ecc2f0dc661b07bc6f1.zip |
Be exact about the number of spaces in the header.
Also fixes changes files that warn on this.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/lintChanges.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maint/lintChanges.py b/scripts/maint/lintChanges.py index 19d03ec8da..c2fc01d2bf 100755 --- a/scripts/maint/lintChanges.py +++ b/scripts/maint/lintChanges.py @@ -31,7 +31,7 @@ def lintfile(fname): lines = contents.split("\n") isBug = ("bug" in lines[0] or "fix" in lines[0]) - if not re.match(r'^ +o (.*)', contents): + if not re.match(r'^[ ]{2}o (.*)', contents): warn("header not in format expected") contents = " ".join(contents.split()) |