check-code: allow argument passing py2.6ism
authortimeless <timeless@mozdev.org>
Thu, 15 Oct 2015 17:28:26 -0400
changeset 26808 b81b8dbecc26
parent 26807 df31e126b706
child 26809 6cd190147308
check-code: allow argument passing py2.6ism this backs out 131f7fe06e9e, because Python2.5 support was dropped
contrib/check-code.py
--- 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*\(.*,.*\)',