|
@@ -31,7 +31,7 @@ def lintfile(fname):
|
|
lines = contents.split("\n")
|
|
lines = contents.split("\n")
|
|
isBug = ("bug" in lines[0] or "fix" in lines[0])
|
|
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")
|
|
warn("header not in format expected")
|
|
|
|
|
|
contents = " ".join(contents.split())
|
|
contents = " ".join(contents.split())
|