From 034f51dd0223b4d2969a3ecc2f0dc661b07bc6f1 Mon Sep 17 00:00:00 2001 From: cypherpunks Date: Fri, 6 Mar 2015 15:08:45 +0100 Subject: Be exact about the number of spaces in the header. Also fixes changes files that warn on this. --- changes/bug14806 | 4 ++-- scripts/maint/lintChanges.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changes/bug14806 b/changes/bug14806 index 3a2e355e8b..dd85e785ce 100644 --- a/changes/bug14806 +++ b/changes/bug14806 @@ -1,3 +1,3 @@ - o Minor bugfixes (testing): - - Commandline argument tests moved to Stem. Fixes bug 14806. + o Minor bugfixes (testing): + - Commandline argument tests moved to Stem. Fixes bug 14806. 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()) -- cgit v1.2.3-54-g00ecf