##// END OF EJS Templates
py3: make contrib/check-commit use absolute_import
Pulkit Goyal -
r29163:bf7fd815 default
parent child Browse files
Show More
@@ -15,7 +15,11 b''
15 #
15 #
16 # See also: https://mercurial-scm.org/wiki/ContributingChanges
16 # See also: https://mercurial-scm.org/wiki/ContributingChanges
17
17
18 import re, sys, os
18 from __future__ import absolute_import
19
20 import os
21 import re
22 import sys
19
23
20 commitheader = r"^(?:# [^\n]*\n)*"
24 commitheader = r"^(?:# [^\n]*\n)*"
21 afterheader = commitheader + r"(?!#)"
25 afterheader = commitheader + r"(?!#)"
General Comments 0
You need to be logged in to leave comments. Login now