Show More
@@ -50,8 +50,7 b' def checkcommit(commit, node = None):' | |||||
50 | printed = node is None |
|
50 | printed = node is None | |
51 | hits = [] |
|
51 | hits = [] | |
52 | for exp, msg in errors: |
|
52 | for exp, msg in errors: | |
53 |
|
|
53 | for m in re.finditer(exp, commit): | |
54 | if m: |
|
|||
55 | end = m.end() |
|
54 | end = m.end() | |
56 | trailing = re.search(r'(\\n)+$', exp) |
|
55 | trailing = re.search(r'(\\n)+$', exp) | |
57 | if trailing: |
|
56 | if trailing: |
General Comments 0
You need to be logged in to leave comments.
Login now