Mercurial > hg
diff contrib/check-code.py @ 26808:b81b8dbecc26
check-code: allow argument passing py2.6ism
this backs out 131f7fe06e9e, because Python2.5 support was dropped
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 15 Oct 2015 17:28:26 -0400 |
parents | df1a29ec45bf |
children | 28b5c4fcf48d |
line wrap: on
line diff
--- a/contrib/check-code.py Thu Oct 15 17:24:42 2015 -0400 +++ b/contrib/check-code.py Thu Oct 15 17:28:26 2015 -0400 @@ -199,7 +199,6 @@ pypats = [ [ - (r'\([^)]*\*\w[^()]+\w+=', "can't pass varargs with keyword in Py2.5"), (r'^\s*def\s*\w+\s*\(.*,\s*\(', "tuple parameter unpacking not available in Python 3+"), (r'lambda\s*\(.*,.*\)',