check-code: drop ban of str.format
After discussion with Augie and Matt, we are fine with it being introduced in
the code base.
--- a/contrib/check-code.py Mon May 18 22:40:16 2015 -0400
+++ b/contrib/check-code.py Mon May 18 16:09:05 2015 -0500
@@ -239,7 +239,6 @@
# (r'in range\(', "use xrange"),
# (r'^\s*print\s+', "avoid using print in core and extensions"),
(r'[\x80-\xff]', "non-ASCII character literal"),
- (r'("\')\.format\(', "str.format() not available in Python 2.4"),
(r'(?<!def)\s+(format)\(',
"format not available in Python 2.4", 'no-py24'),
(r'if\s.*\selse', "if ... else form not available in Python 2.4"),